IFS multiple < and > problem

HuskyJones

New Member
Joined
Sep 30, 2015
Messages
45
Office Version
  1. 365
Platform
  1. Windows
Hi fabulous folk
Can you help me with this one.
I need H2 (and i'll drag it down) to choose the package name in A according to the calls in G.
I've got it working no problem for the <10 calls =IFS(G2<10,A13) but can't work out >9 or < 19 etc (i always struggle with <= so choose < next number lol)
I think it might be an IFS(AND but brain is really struggling
Many thanks hive!
(365 enterprise if that makes difference)
1711464364535.png
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Are you happy to change E13:e19 to the lower limit on each row?
Then you can use
Excel Formula:
=xlookup(f10,e$13:e$19,a$13:a$19,,-1)
 
Upvote 0
Hiya
Unfortunately has to be the range. The formula suggested gives #N/A for any number of calls in G :(
 
Upvote 0
Done it!
=IF(G2<10,A13,IF(G2<19,A14,IF(G2<41,A15,IF(G2<61,A16,IF(G2<98,A17,IF(G2<134,A18,IF(G2<10000,A19,)))))))

Party!
 
Upvote 0
The formula suggested gives #N/A for any number of calls in G
That's beacuse it was based on changing the values in col E so that they can be used in calculations, which (IMO) makes thing a lot simpler & easier.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top