If and if/and statement

I'm trying to do an if statement for if a cell is blank to leave it blank and if not to perform an if/and statement. I did it in Excel but when I imported the file into Smartsheet it wasn’t working. So I’m trying to write it in Smartsheet.
I did get it to work at one point but the acceptable and review responses were backwards. Now I continue to get errors when I’m trying to fix it .
i want if my ratio is below 100% and the increase is more than 5% to return “acceptable”, if not to return “review” and if the increase amount if blank to return a blank cell.
If(increase=“”,””,if((and(ratio<.1,increase>.5),”acceptable”,”review”)
Comments
-
If "Increase" and "ratio" are your column names, then all you are missing is row references.
=If(increase@row=“”,””,if(and(ratio@row<.1,increase@row>.5),”acceptable”,”review”)
.
You will also want to edit the quotes. The formula you have posted uses "Smart Quotes", you need to use the other ones ("Not Smart Quotes"??).
To see the difference, enter some quotes in Microsoft Word or some similar word editing program, then enter some quotes in a text editing program such as Notepad.
The "Smart Quotes" will look a little more curly and have tails. The other quotes will simply be straight up and down like the ones you see used in this comment.
"
"
-
Sorry, I didn’t copy over the exact formula. I just typed it out in its basic for. I am referencing rows. I just wanted to give an idea of the basic formula I was writing.
-
No worries. Other than the 2 previously mentioned items, there was also an extra open parenthesis before the AND function.
-
When I do it with one I get an error. In Excel it works just fine.
-
Can you post the exact formula? Preferably a screenshot of the formula "in action" in the sheet along with the exact error?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.1K Get Help
- 430 Global Discussions
- 149 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 154 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!