Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default FIND A VALUE FROM CROSPONDING COLUM AND MULTIPLE CROSSPENDING ROW

S.NO Name "Pay Date/Paid Date"
A B
1 Zia 01/01/2010
2 03/01/2010
3 amir 12/12/2009
4 01/01/2010

Find the value for Zia (A1) from crossponding column B but row no 2 (B2)
whch is " 03/01/2010"
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default FIND A VALUE FROM CROSPONDING COLUM AND MULTIPLE CROSSPENDING ROW

As-is, you could try this in E2:
=INDEX(B:B,MATCH(D2,A:A,0)+1)
where D2 contains the name, eg: Zia
Format E2 as date to taste

If you can take a layout re-design, put the 2 different dates into separate
cols. Makes things neater and easier to associate & work with.

Any joy? wave it, hit YES below
--
Max
Singapore
---
"Zia Butt" wrote:
S.NO Name "Pay Date/Paid Date"
A B
1 Zia 01/01/2010
2 03/01/2010
3 amir 12/12/2009
4 01/01/2010

Find the value for Zia (A1) from crossponding column B but row no 2 (B2)
whch is " 03/01/2010"

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default FIND A VALUE FROM CROSPONDING COLUM AND MULTIPLE CROSSPENDING ROW

With the query date 03/01/2010 in cell C2 try the below array formula
whichwill lookup the corresponding value from ColA.

Please note that this is an array formula. You create array formulas in the
same way that you create other formulas, except you press CTRL+SHIFT+ENTER to
enter the formula. If successful in 'Formula Bar' you can notice the curly
braces at both ends like "{=<formula}"

=IF(ISNUMBER(MATCH(C2,B:B,0)),INDEX(A:A,MAX(IF(IND IRECT("A1:A" &
MATCH(C2,B:B,0))<"",ROW(INDIRECT("A1:A" & MATCH(C2,B:B,0)))))),"")


--
Jacob


"Zia Butt" wrote:

S.NO Name "Pay Date/Paid Date"
A B
1 Zia 01/01/2010
2 03/01/2010
3 amir 12/12/2009
4 01/01/2010

Find the value for Zia (A1) from crossponding column B but row no 2 (B2)
whch is " 03/01/2010"

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default FIND A VALUE FROM CROSPONDING COLUM AND MULTIPLE CROSSPENDING

If it is the other way around..

With Zia in cell D2 try the below formula to retrieve the max date from ColB
for Zia...I assume ..

=MAX(OFFSET(INDIRECT("A" & MATCH(D2,A:A,0)),0,1,
IF(ISNA(MATCH(TRUE,INDEX(INDIRECT("A" & MATCH(D2,A:A,0)+1 & ":A1000")
<"",),)),1000,MATCH(TRUE,INDEX(INDIRECT("A" & MATCH(D2,A:A,0)
+1 & ":A1000")<"",),)),1))


--
Jacob


"Jacob Skaria" wrote:

With the query date 03/01/2010 in cell C2 try the below array formula
whichwill lookup the corresponding value from ColA.

Please note that this is an array formula. You create array formulas in the
same way that you create other formulas, except you press CTRL+SHIFT+ENTER to
enter the formula. If successful in 'Formula Bar' you can notice the curly
braces at both ends like "{=<formula}"

=IF(ISNUMBER(MATCH(C2,B:B,0)),INDEX(A:A,MAX(IF(IND IRECT("A1:A" &
MATCH(C2,B:B,0))<"",ROW(INDIRECT("A1:A" & MATCH(C2,B:B,0)))))),"")


--
Jacob


"Zia Butt" wrote:

S.NO Name "Pay Date/Paid Date"
A B
1 Zia 01/01/2010
2 03/01/2010
3 amir 12/12/2009
4 01/01/2010

Find the value for Zia (A1) from crossponding column B but row no 2 (B2)
whch is " 03/01/2010"

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup, HLOOKUP, To find Multiple items and then sum all in colum Bobberjoe Excel Discussion (Misc queries) 4 January 16th 09 04:42 AM
how to find out recorence in a colum" karthikeyan.c.r Excel Discussion (Misc queries) 1 April 9th 06 04:50 AM
Look up data in colum a and find match in colum b Chris(new user) Excel Discussion (Misc queries) 1 March 22nd 05 01:41 PM
Check data on colum A and find match on colum b Chris(new user) Excel Discussion (Misc queries) 3 March 20th 05 04:45 PM
Look up data in colum a and find match in colum b Chris(new user) Excel Discussion (Misc queries) 1 March 19th 05 09:27 PM


All times are GMT +1. The time now is 12:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"