Nesting multiple ifs based on multiple criteria. - Google Docs Editors Community
How can I combine an "IFS" and "AND" statement to check for to conditions?
How do I include multiple conditions and outcomes in a google sheets formula
if statement - Multiple IFS FUNCTION in Google Sheet - Stack Overflow
Hi I recently started using google sheets to make a travel plan budget cost. I was wondering if you could combine an IFS statement with an AND to test for two conditions (another cell and a checkbox). So basically it checks for a number on another cell and if a checkbox is checked. I want to check the conditions at the same time so it returns one value.
Ive tried to use the statement but it gives me a "formula parse error" (the F9 cell is a checkbox):
=IFS (E9=B2 AND F9=TRUE, C2*B2)
I've used other coding languages but I don't know if this is possible for google sheets. Does anyone have any suggestions or another operator I could use?
I'm trying to find a formula that will check the content of a cell, and give me different outcomes depending on what is written there (or chosen in a drop down list, if that's possible).
For context, I'm keeping inventory on items I sell, and I'd like if when I chose the size in a cell ("S", "M" or "L"), the next cell showing the price will automatically show the price corresponding to that size (in order, "4$" "5$" and "6$")
I've tried using "=IF", then "=IFS" functions, and even "=IF(or", but nothing works so far. I've triple-checked my syntaxe, but I'm new to this so maybe I missed something? Would there also be a simpler way that I'm missing?
In the image I'm using =IFS(D2<5;"S", IF(D2=5;"M", IF(D2>5;"L"))) and I tried replacing the semicolons by commas, still no go
Thanks!
EDIT:
Thanks to Squishiest-Grape for solving my problem (My Google Sheet was set to a language using comma number separators)! Everyone gave really good insight, I can now trouble-shoot my formulas much better!