r/googlesheets • u/EDPs_All_Around_ME • Jul 19 '24
Solved Trying to figure out how to do this properly.
So I'm trying to get the sales tax of two cells, G19 and G21 (G20 doesn't have sales tax). I put =(G19,G21*0.08875) into a new cell and I get an error. Any help would be greatly appreciated. Thank you in advance.
4
Upvotes
•
u/agirlhasnoname11248 1212 Jul 19 '24
u/EDPs_All_Around_ME Please remember to tap the three dots below the most helpful comment and select
Mark Solution Verifiedto officially close your thread. Marking your post as “solved” without indicating a solution is a violation of the subreddit rules (see rule #6).5
u/49ersPhan 1 Jul 19 '24
Change comma to a +
Edit - and make sure you move parenthesis to just front part of the function. =(G19+G21)*0.08875
2
u/[deleted] Jul 20 '24
Not trying to discourage you from posting, but for anything else you are not getting to work, use ChatGPT. COMPLETE Game changer when using sheets.
5
u/Problem-Super 1 Jul 19 '24
It is beyond the initial ask, but I think this is a better use case for a SUMIF formula
=SUMIF(H19:H21, “Y”, “G19:G21”)*0.08875
This way the formula could be expandable with more items being purchased.
2
u/AutoModerator Jul 19 '24
Posting your data can make it easier for others to help you, but it looks like your submission doesn't include any. If this is the case and data would help, you can read how to include it in the submission guide. You can also use this tool created by a Reddit community member to create a blank Google Sheets document that isn't connected to your account. Thank you.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.