IFS Range/ Index Range

Enzo_Matrix

Board Regular
Joined
Jan 9, 2018
Messages
113
I have a table with 8 columns and I am trying to create a drop down menu that will return an integer from locums A,C,E,G when I choose text from columns B,D,F,H respectfully.

If I choose:
Text 1 (from column B)
It returns: "1"
If Text 3 (From column D)
Returns: "5"

Is there a way to use IFS() with a Range() and multiple criteria?
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Re: IFS Range/ Index Range help

To make things a little clearer,

I am trying to have this code be active for an entire column B and have the value in C change 1:12
Code:
=IF($A$1=$B1,"1","")


This can be done in either VBA or in the cell directly. VBA preferred.
 
Last edited:
Upvote 0
Re: IFS Range/ Index Range help

More clarification.

I am trying to get this code to work and I know this code is not right but I do not know what to exchange it with.

Code:
=IF(S9=$N6:$N17,$M6:$M17,"")

Please help
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

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