1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Trying to formulate cell with multiple IF Conditions based on range

Our take

Are you struggling to create a formula that categorizes values based on ranges in Excel? You’re not alone. Many users find themselves tangled in syntax when attempting to use multiple IF conditions, especially when defining ranges like "B4 >= 2 but < 7." The good news is that you can simplify your approach. In this guide, we’ll unlock the secrets to crafting a clean, effective formula that avoids the dreaded #ERROR! message. Let’s turn that complexity into clarity and get your spreadsheet working for you.

I'm trying to formulate a cell so that it outputs a value based on the number another cell has in it

C23 =IF(B4>2,"Negative") C23 =IF(B4>=2 but <7,"Neutral") C23 =IF(B4>=7 but <15,"Positive") C23 =IF(B4>=15,"Abnormal")

I feel like I'm really close to figuring out the syntax, but I'm struggling to figure out how to type out the range value with the (B4>=2 but <7) part

Alternatively I have tried doing it manually as a long formula and it keeps coming up as #ERROR!

=IF(B4=0,"Negative",IF(B4=1,"Negative",IF(B4=2,"Neutral",IF(B4=3,"Neutral",IF(B4=4,"Neutral",IF(B4=5,"Neutral",IF(B4=6,"Neutral",IF(B4=7,"Positive",IF(B4=8,"Positive",IF(B4=9,"Positive",IF(B4=10,"Positive",IF(B4=11,"Positive",IF(B4=12"Positive",IF(B4=13,"Positive",IF(B4=14,"Positive",IF(B4>=15,"Abnormal"))))))))))))))))

submitted by /u/Frost___Warden
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles

Tagged with

#rows.com#cloud-based spreadsheet applications#financial modeling with spreadsheets#AI formula generation techniques#Excel compatibility#Excel alternatives for data analysis#IF Conditions#cell formula#output value#range value#syntax#B4#Negative#Neutral#Positive#Abnormal##ERROR!#manual formula#comparison operators#output based on input