Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Skipping cells in a formula

Howdy All,

I want to get data from another worksheet, but the data I want occurs in
every 3rd row.

So I want data from C2, C5, C8, etc.

How can I do this in a formula so that when I drop the formula down, the
sequence will replace correctly?

Thanks,
Brian


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Skipping cells in a formula

On Jun 6, 7:26 pm, "Brian" wrote:
Howdy All,

I want to get data from another worksheet, but the data I want occurs in
every 3rd row.

So I want data from C2, C5, C8, etc.

How can I do this in a formula so that when I drop the formula down, the
sequence will replace correctly?

Thanks,
Brian


In any cell (say B2):

=OFFSET('[otherbook.xls]sheetname'!$C$2,(ROW()-ROW($B$2))*3,0)

HTH
Kostis Vezerides

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Skipping cells in a formula

Thanks Kostis,

That works great!

I have used another formula to extract 2 piece of data from those specific
cells which occur before and after this text "--"

Those formulas a

For data before -- =LEFT(Sheet3!C2,FIND("--",Sheet3!C2)-1)
For data after --
=RIGHT(Sheet3!C2,(LEN(Sheet3!C2)-FIND("--",Sheet3!C2))-2)

Can you help me integrate your formula into these formulas?

Thanks again,
Brian


"vezerid" wrote in message
ups.com...
On Jun 6, 7:26 pm, "Brian" wrote:
Howdy All,

I want to get data from another worksheet, but the data I want occurs in
every 3rd row.

So I want data from C2, C5, C8, etc.

How can I do this in a formula so that when I drop the formula down, the
sequence will replace correctly?

Thanks,
Brian


In any cell (say B2):

=OFFSET('[otherbook.xls]sheetname'!$C$2,(ROW()-ROW($B$2))*3,0)

HTH
Kostis Vezerides



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Skipping cells in a formula

Basically you replace Sheet3!C2 with the construct I provided

OFFSET(Sheet3!$C$2,(ROW()-ROW($B$2))*3,0)

Thus:

=LEFT(OFFSET(Sheet3!$C$2,(ROW()-ROW($B
$2))*3,0),FIND("--",OFFSET(Sheet3!$C$2,(ROW()-ROW($B$2))*3,0))-1)
=RIGHT(OFFSET(Sheet3!$C$2,(ROW()-ROW($B$2))*3,0) ,(LEN(OFFSET(Sheet3!$C
$2,(ROW()-ROW($B$2))*3,0) )-FIND("--",OFFSET(Sheet3!$C$2,(ROW()-ROW($B
$2))*3,0) ))-2)

Regards,
Kostis

On Jun 6, 7:48 pm, "Brian" wrote:
Thanks Kostis,

That works great!

I have used another formula to extract 2 piece of data from those specific
cells which occur before and after this text "--"

Those formulas a

For data before -- =LEFT(Sheet3!C2,FIND("--",Sheet3!C2)-1)
For data after --
=RIGHT(Sheet3!C2,(LEN(Sheet3!C2)-FIND("--",Sheet3!C2))-2)

Can you help me integrate your formula into these formulas?

Thanks again,
Brian

"vezerid" wrote in message

ups.com...

On Jun 6, 7:26 pm, "Brian" wrote:
Howdy All,


I want to get data from another worksheet, but the data I want occurs in
every 3rd row.


So I want data from C2, C5, C8, etc.


How can I do this in a formula so that when I drop the formula down, the
sequence will replace correctly?


Thanks,
Brian


In any cell (say B2):


=OFFSET('[otherbook.xls]sheetname'!$C$2,(ROW()-ROW($B$2))*3,0)


HTH
Kostis Vezerides



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Skipping cells in a formula

Thanks again, Kostis!

"vezerid" wrote in message
oups.com...
Basically you replace Sheet3!C2 with the construct I provided

OFFSET(Sheet3!$C$2,(ROW()-ROW($B$2))*3,0)

Thus:

=LEFT(OFFSET(Sheet3!$C$2,(ROW()-ROW($B
$2))*3,0),FIND("--",OFFSET(Sheet3!$C$2,(ROW()-ROW($B$2))*3,0))-1)
=RIGHT(OFFSET(Sheet3!$C$2,(ROW()-ROW($B$2))*3,0) ,(LEN(OFFSET(Sheet3!$C
$2,(ROW()-ROW($B$2))*3,0) )-FIND("--",OFFSET(Sheet3!$C$2,(ROW()-ROW($B
$2))*3,0) ))-2)

Regards,
Kostis

On Jun 6, 7:48 pm, "Brian" wrote:
Thanks Kostis,

That works great!

I have used another formula to extract 2 piece of data from those
specific
cells which occur before and after this text "--"

Those formulas a

For data before -- =LEFT(Sheet3!C2,FIND("--",Sheet3!C2)-1)
For data after --
=RIGHT(Sheet3!C2,(LEN(Sheet3!C2)-FIND("--",Sheet3!C2))-2)

Can you help me integrate your formula into these formulas?

Thanks again,
Brian

"vezerid" wrote in message

ups.com...

On Jun 6, 7:26 pm, "Brian" wrote:
Howdy All,


I want to get data from another worksheet, but the data I want occurs
in
every 3rd row.


So I want data from C2, C5, C8, etc.


How can I do this in a formula so that when I drop the formula down,
the
sequence will replace correctly?


Thanks,
Brian


In any cell (say B2):


=OFFSET('[otherbook.xls]sheetname'!$C$2,(ROW()-ROW($B$2))*3,0)


HTH
Kostis Vezerides





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
reference row on another sheet skipping zeros but not skipping li. Brennan Downes Excel Discussion (Misc queries) 2 April 2nd 23 01:28 PM
skipping cells just1creation Excel Discussion (Misc queries) 2 June 27th 06 05:32 PM
repeat a formula, skipping cells Hucleberry Hound Excel Discussion (Misc queries) 1 October 3rd 05 03:30 PM
Subtraction formula for consecutive cells in a column, skipping blanks [email protected] Excel Worksheet Functions 2 September 16th 05 12:20 AM
Autofill skipping cells Carla Bradley Excel Worksheet Functions 1 November 8th 04 06:20 PM


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

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"