Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 128
Default Find value every time it appears and display cell above

I have a workbook, where on Sheet 1 there is data from B5:E (the number of
rows may be different on different workbooks).
The word 'Status' appears numerous times within Column B. I would like to
have a formula on Sheet 2 that looks for every instance of the word 'Status'
and lists the value of the cell immediately above it.
Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Find value every time it appears and display cell above

In sheet2 B1 enter:
"data"
in sheet2 B2 enter:

=IF(Sheet1!B2="STATUS",Sheet1!B1,"") and copy down. If the data in column B
of sheet1 looks like:

1
2
3
4
STATUS
6
7
8
9
10
11
STATUS
13
14
15
16
17
18
19
20
21
22
23
STATUS
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

then the data on sheet2 will look like:

data



4






11











23

To eliminate blank rows on sheet2, switch-on AutoFilter.

--
Gary''s Student - gsnu200738


"Sarah (OGI)" wrote:

I have a workbook, where on Sheet 1 there is data from B5:E (the number of
rows may be different on different workbooks).
The word 'Status' appears numerous times within Column B. I would like to
have a formula on Sheet 2 that looks for every instance of the word 'Status'
and lists the value of the cell immediately above it.
Any ideas?

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
HOW? Find and display the last cell in a column with a value 0 Conker10382 Excel Discussion (Misc queries) 10 July 22nd 06 02:02 AM
display and count the number of times a value appears dbath Excel Worksheet Functions 8 June 24th 06 07:57 AM
How do I find how often a number appears within a worksheet PaulGrowns1 Excel Discussion (Misc queries) 1 September 29th 05 12:13 PM
trying to find how to display worksheet name in cell Yvonne Barber Excel Discussion (Misc queries) 1 September 15th 05 08:37 PM
Text data appears as 0 in my Pivot table - how do I display as tex Murray Snedden Excel Worksheet Functions 1 August 9th 05 07:44 PM


All times are GMT +1. The time now is 05:28 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"