Find the the value with multiple condition

Abdulkhadar

Board Regular
Joined
Nov 10, 2013
Messages
165
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
Dear Excel Experts,
I want to find the value according to the date from multiple columns.

Example.xlsx
ABCDEFGHIJ
101/01/198701/07/199301/04/199801/07/2005My Goal is
278084025004800840
37958552550490001/03/1988855
48108702600500001/03/1989870
58258852650510001/04/1990885
68409002700520001/03/1993900
78559202775530001/07/1993980
88709402850540001/03/19941000
98859602925550001/03/19951020
109009803000560001/03/19961040
1192010003075570001/04/19983225
1294010203150580001/03/19993300
1396010403225590001/03/20003375
1498010603300600001/03/20013450
15100010803375612501/07/20056250
16102011003450625001/03/20066375
17104011303550637501/04/20076500
181060116036506500so on
191080119037506650
201100122038506800
21
Sheet3
Cell Formulas
RangeFormula
I3:I6I3=LOOKUP(H3,$A$1:$D$1,INDEX(A:A,MATCH(I2,A:A,0)+1))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D2:D9Cell ValueduplicatestextNO
C2:C9Cell ValueduplicatestextNO
B2:B8Cell ValueduplicatestextNO
A2:A9Cell ValueduplicatestextNO


Thanks in advance
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Maybe like this?
Book1
ABCDEFGHIJ
11/01/19871/07/19931/04/19981/07/2005My Goal is
278084025004800840
3795855255049001/03/1988855
4810870260050001/03/1989870
5825885265051001/04/1990885
6840900270052001/03/1993900
7855920277553001/07/1993980
8870940285054001/03/19941000
9885960292555001/03/19951020
10900980300056001/03/19961040
119201000307557001/04/19983225
129401020315058001/03/19993300
139601040322559001/03/20003375
149801060330060001/03/20013450
1510001080337561251/07/20056250
1610201100345062501/03/20066375
1710401130355063751/04/20076500
181060116036506500so on
191080119037506650
201100122038506800
Sheet3
Cell Formulas
RangeFormula
I3:I6I3=LOOKUP(H3,$A$1:$D$1,INDEX(A:A,MATCH(I2,A:A,0)+1))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:D20Expression=COUNTIFS($H$3:$H$17,A$1,$I$3:$I$17,A2)>0textYES
 
Upvote 0
Maybe like this?
Thanks for your quick reply sir, but this formula is not working as per my criteria. I want a formula only at I3 cell to drag
Example.xlsx
ABCDEFGHIJ
101/01/198701/07/199301/04/199801/07/2005My Goal is
278084025004800840
37958552550490001/03/1988855
48108702600500001/03/1989870
58258852650510001/04/1990885
68409002700520001/03/1993900
78559202775530001/07/1993980
88709402850540001/03/19941000
98859602925550001/03/19951020
109009803000560001/03/19961040
1192010003075570001/04/19983225
1294010203150580001/03/19993300
1396010403225590001/03/20003375
1498010603300600001/03/20013450
15100010803375612501/07/20056250
16102011003450625001/03/20066375
17104011303550637501/04/20076500
181060116036506500so on
191080119037506650
201100122038506800
Sheet3
 
Last edited:
Upvote 0
So, what is wrong with your existing formula in I3 given that you have a heading above that section that says "My goal is"?

Assuming that your formulas are not doing what you want
- remove them
- manually enter the results that you do want
- explain in words how you get the first 2 or 3 of those manually entered results.
 
Upvote 0
So, what is wrong with your existing formula in I3 given that you have a heading above that section that says "My goal is"?

Assuming that your formulas are not doing what you want
- remove them
- manually enter the results that you do want
- explain in words how you get the first 2 or 3 of those manually entered results.
sorry for my mistake. before deleting the formula I posted it. then I removed the formula and post again No. #3 . my formula work only for column A, but I want from Colum A to D. My Goal is, I want values from A2 to D20 as per mentioned Date in Column H. i.e., if date from 01/07/1987 to 30/06/1993 in column H then, look the values from Column A. if date from 01/07/1993 to 31/03/1998 in column H then took values from Column B. like this... Once again sorry for my mistake.
 
Upvote 0
I removed the formula and post again No. #3
Oops, sorry, somehow I missed post #3 😵‍💫

Try this

23 08 05.xlsm
ABCDEFGHI
11/01/19871/07/19931/04/19981/07/2005My Goal is
278084025004800840
3795855255049001/03/1988855
4810870260050001/03/1989870
5825885265051001/04/1990885
6840900270052001/03/1993900
7855920277553001/07/1993980
8870940285054001/03/19941000
9885960292555001/03/19951020
10900980300056001/03/19961040
119201000307557001/04/19983225
129401020315058001/03/19993300
139601040322559001/03/20003375
149801060330060001/03/20013450
1510001080337561251/07/20056250
1610201100345062501/03/20066375
1710401130355063751/04/20076500
181060116036506500
191080119037506650
201100122038506800
Lookup
Cell Formulas
RangeFormula
I3:I17I3=INDEX(A$2:D$20,MATCH(I2,INDEX(A$2:D$20,0,MATCH(IF(H2="",H3,H2),A$1:D$1)))+(MATCH(H3,A$1:D$1)=MATCH(IF(H2="",H3,H2),A$1:D$1)),MATCH(H3,A$1:D$1))
 
Upvote 1
Solution
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,224,786
Messages
6,180,948
Members
453,007
Latest member
anaysha1

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