Multiple if functions together

Dean001

New Member
Joined
Sep 2, 2022
Messages
17
Office Version
  1. 365
Platform
  1. Windows
Hi All,
I've hit a brick wall trying to combine multiple if functions. I am trying to combine the two below functions
=IF(AND(B2>=25,B2<=37,C2>=63,C2<=75),"ALLOY 2","NO MATCH")
=IF(AND(D2>=95),"LAC","NO MATCH")

I want them to look in cells for values that land in a certain range, and then say what that range relates to (Alloy B or LAC, there will be others but they will be basically a copy of this).

Would really appreciate any help with this.

Thanks
 

Attachments

  • Screenshot 2024-02-14 175928.png
    Screenshot 2024-02-14 175928.png
    4.4 KB · Views: 8

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
How about?
Excel Formula:
=IF(D2>=95,"LAC",IF(AND(B2>=25,B2<=37,C2>=63,C2<=75),"ALLOY 2","NO MATCH"))
 
Upvote 0
Solution
How about?
Excel Formula:
=IF(D2>=95,"LAC",IF(AND(B2>=25,B2<=37,C2>=63,C2<=75),"ALLOY 2","NO MATCH"))
Wow, Thanks for the really quick response.
That works.
Do you know how I would add in another function eg =IF(AND(R2>=5,R2<=10),"RE-TEST",)
I Can see how yours has worked, but dont know why (not sure if i'm making sense, but am trying to understand it so I can work through it in future.

Thanks
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

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