Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default returning the value in Colunm C using Colunm A as Ref

Hi
I am trying to format a spread sheet and need to return the value of colunm
C but the problem is Colunm A is blank as it runs in sequence (see below)
It looks like the following

A B C
1, P100AA Info 300
2, P100AB Info 150
3, "Blank" "" 100
4, "Blank" "" 50
5, P100AC Info 300

How do i return the last figure for the item in Row 2 (colunm A) i.e. 50?

If i do a logical test how do i tell it that row 4 is actually relating to
the search criteria in row 2 without returning the value in row 2, colunm C?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default returning the value in Colunm C using Colunm A as Ref

Try the below formula with lookup value in cell D1

In cell D1 : P100AB

In cell E1 :
=LOOKUP(10^10,OFFSET($C$1,MATCH(D1,Sheet1!A:A,0)-1,,
IF(ISNA(MATCH(TRUE,INDEX(INDIRECT("Sheet1!A"&
MATCH(D1,Sheet1!A:A,0)+1&":A1000")<"",),)),1000,
MATCH(TRUE,INDEX(INDIRECT("Sheet1!A"&
MATCH(D1,Sheet1!A:A,0)+1&":A1000")<"",),))))

If this post helps click Yes
---------------
Jacob Skaria


"Robbo12" wrote:

Hi
I am trying to format a spread sheet and need to return the value of colunm
C but the problem is Colunm A is blank as it runs in sequence (see below)
It looks like the following

A B C
1, P100AA Info 300
2, P100AB Info 150
3, "Blank" "" 100
4, "Blank" "" 50
5, P100AC Info 300

How do i return the last figure for the item in Row 2 (colunm A) i.e. 50?

If i do a logical test how do i tell it that row 4 is actually relating to
the search criteria in row 2 without returning the value in row 2, colunm C?


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
I have Text in a Colunm but want to sort ... Dr. Darrell Excel Discussion (Misc queries) 4 July 17th 09 06:28 PM
SORTING BY COLUNM ENTRY 75gator Excel Discussion (Misc queries) 8 June 14th 09 03:35 PM
adding same format for colunm doss04 New Users to Excel 3 October 6th 08 11:13 PM
Spread few colunm data across single page. Dax Arroway Excel Discussion (Misc queries) 2 May 10th 07 11:34 PM
How to keep colunm headings when scrolling down in excel Oliver Excel Discussion (Misc queries) 2 August 29th 05 05:43 PM


All times are GMT +1. The time now is 10:28 AM.

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

About Us

"It's about Microsoft Excel"