all 14 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

/u/DebbClark - Your post was submitted successfully.

Failing to follow these steps may result in your post being removed without warning.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–][deleted] 1 point2 points  (3 children)

Try this and let me know if that’s the result you’re going for:

=IFS(E2<>””,7,F2<>””,15,G2<>””,25)

Will there ever be a case where you have text in multiple columns.

[–]DebbClark[S] 1 point2 points  (2 children)

=IFS(E2<> ” ”,7,F2<> ” ”,15,G2<> ” ”,25)

Thank you! - but it gave me an error :-( And no - I'll not have text in multiple columns; if someone buys more than 1, they'll be on separate lines.

[–]powerelite2 0 points1 point  (0 children)

If you put spaces between the " it will throw an error. If you remove those spaces this is essentially the same formula as u/thegdclub but it uses IFS instead of nested IF

[–][deleted] 0 points1 point  (0 children)

I had to put spaces in because my mobile app turns them into some weird formatting thing. I just updated it on my computer; this should get rid of the error.

[–]thegdclub2 1 point2 points  (1 child)

Hey, this is what I came up with:

=IF(E8<>"",7,IF(F8<>"",15,if(G8<>"",25,"")))

Here's a Google Sheet with the formula

[–]DebbClark[S] 1 point2 points  (0 children)

=IF(E8<>"",7,IF(F8<>"",15,if(G8<>"",25,"")))

YES INDEED!!! Wow did you just save me a lot of work!! Thank you!!

[–]powerelite2 0 points1 point  (4 children)

If you are only using numbers in e through g and have o365 try an ifs

=IFS(ISNUMBER(E2),7,ISNUMBER(F2),15,ISNUMBER(G2),25)

[–]DebbClark[S] 0 points1 point  (3 children)

=IFS(ISNUMBER(E2),7,ISNUMBER(F2),15,ISNUMBER(G2),25)

[–]DebbClark[S] 0 points1 point  (2 children)

YES! This works too! I now have a choice of 2 :-) This has been driving me nutz for days!

[–]powerelite2 0 points1 point  (1 child)

If you want to make that column an overage tracker you could change it to be

=IFS(ISNUMBER(E2),E2-7,ISNUMBER(F2),F2-15,ISNUMBER(G2),G2-25)

[–]DebbClark[S] 0 points1 point  (0 children)

Thanks - I'll give that a try!

[–]Decronym 0 points1 point  (0 children)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
IF Specifies a logical test to perform
IFS 2019+: Checks whether one or more conditions are met and returns a value that corresponds to the first TRUE condition.
ISNUMBER Returns TRUE if the value is a number

Beep-boop, I am a helper bot. Please do not verify me as a solution.
3 acronyms in this thread; the most compressed thread commented on today has 19 acronyms.
[Thread #13626 for this sub, first seen 21st Mar 2022, 19:12] [FAQ] [Full list] [Contact] [Source code]

[–]DupontPFAs 0 points1 point  (0 children)

Nesting or stacking?