Nest IF And Statements

DadofFlash

New Member
Joined
Mar 7, 2025
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I'm trying to create nested If And statements to return a calculated value if the value in another cell matches the criteria but my head is mashed trying.

Simply Put I'm trying to create the fiollowing using If(And statements and not getting anywhere.

Example..

1741342415295.png


Help please.

Thanks,

Dave.
 
Hello, could you possibly elaborate more on what is the aim and expected output? E.g. is the aim to verify to which interval 72 belongs and return the corresponding number (22) or something else?
 
Upvote 0
Thanks for the reply all, A cup of tea and a vape away from the desk has cleared the head and I've managed to get the formulae correct.

Have a great day.
 
Upvote 0
I've managed to get the formulae correct.
Welcome to the MrExcel board!

Something like this?

25 03 07.xlsm
ABCD
1
2252572
3255025
45010022
5
6
7252528
825503
9501000
Test
Cell Formulas
RangeFormula
C2:C4C2=MIN(B2-A2,D$2-SUM(C$1:C1))
C7:C9C7=MIN(B7-A7,D$7-SUM(C$6:C6))
 
Upvote 0

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