#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Eva Eva is offline
external usenet poster
 
Posts: 197
Default Offset

I have data in sheet1 as folows:
row data calucations
1 a 12
2 b 0
3 c 14

I need to use offset formula to get results in sheet2 for rows withoud 0 in
col C
row data calucations
1 a 12
3 c 14
Thanks
Eva
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Offset

Assuming source data in cols A to C in Sheet1, from row1 down,
where the key col = col C

In Sheet2,

Put in A1:
=IF(OR(Sheet1!C1="",Sheet1!C1=0),"",ROW())

Put in B1:
=IF(ROW()COUNT($A:$A),"",INDEX(Sheet1!A:A,SMALL($ A:$A,ROW())))
Copy B1 to D1. Select A1:D1, fill down to cover the max expected extent of
data in Sheet1, eg down to C100. Hide away col A. Cols B to D will return the
required results, ie only lines without zero values (or blanks) in Sheet1's
col C.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Eva" wrote:
I have data in sheet1 as folows:
row data calucations
1 a 12
2 b 0
3 c 14

I need to use offset formula to get results in sheet2 for rows withoud 0 in
col C
row data calucations
1 a 12
3 c 14
Thanks
Eva

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
Use of Offset function in array formula scabHead Excel Worksheet Functions 4 December 23rd 06 01:16 AM
How to offset cell value from thick border lines? [email protected] Excel Discussion (Misc queries) 3 November 23rd 06 07:51 PM
Offset Function jagbabbra Excel Worksheet Functions 2 May 24th 06 03:17 PM
Offset Function works in cell, not in named range DragonslayerApps Excel Worksheet Functions 0 July 25th 05 04:39 PM
Question for use of offset and range Demi Excel Worksheet Functions 3 July 22nd 05 08:48 PM


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