Formula to find value in range

gtd526

Well-known Member
Joined
Jul 30, 2013
Messages
657
Office Version
  1. 2019
Platform
  1. Windows
Hello,
Im looking for a formula to find a cell value in a range of cells.
=IF(AND($A4=1,$B4=1,$E4=$X16),$D4,"")

I would like to use a Range in A,B,E & D to find a given value.
$A$4:$A$21=1 , criteria1
$B$4:$B$21=1 , criteria2
$E$4:$E$21=$X16 , criteria3
$D$4:$D$21 , if True

If the 3 criteria is True, then bring Value of D:D
$X16 will change correctly as I fill down.

The value Im looking for could be in any cell within the Range.

Thank you.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hello,
Im looking for a formula to find a cell value in a range of cells.
=IF(AND($A4=1,$B4=1,$E4=$X16),$D4,"")

I would like to use a Range in A,B,E & D to find a given value.
$A$4:$A$21=1 , criteria1
$B$4:$B$21=1 , criteria2
$E$4:$E$21=$X16 , criteria3
$D$4:$D$21 , if True

If the 3 criteria is True, then bring Value of D:D
$X16 will change correctly as I fill down.

The value Im looking for could be in any cell within the Range.

Thank you.
Nevermind. I solved it with what I wrote in the message.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,695
Members
448,979
Latest member
DET4492

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