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 Very puzzling - how do I reference cells without the blank rows???

Hi,
here is something that should be much simpler to accomplish but somehow
is very difficult to figure out.

Basically, for simplicity's sake, let's say I have a simple spreadsheet
shown in TABLE 1 below which has Mon-Fri in one column and dollar of
sales in the second column. But the catch is that each row is
separated by two blank rows. So say I would like to reference these
cells below but without skipping two rows and instead have it one after
another (Monday in first row, Tuesday in second, etc.) just like in
TABLE 2. Unfottunately, this is not possible by saying =A1 in the
first row and then logically saying go down 3 columns each time as if
to say [=A1 + "3 columns down"]. So how would I do this then? It's
very puzzling because there should be a simple way to do it. I thought
that maybe OFFSET should be used but I couldn't figure it out yet.


---TABLE 1---
Monday $100


Tuesday $80


Wednesday $120


Thursday $90


Friday $110





---TABLE 2---
Monday $100
Tuesday $80
Wednesday $120
Thursday $90
Friday $110

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Very puzzling - how do I reference cells without the blank rows???

=INDEX($A$1:$A$13,(ROW(A1)-1)*3+1)


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"ZMAN" wrote in message
oups.com...
Hi,
here is something that should be much simpler to accomplish but somehow
is very difficult to figure out.

Basically, for simplicity's sake, let's say I have a simple spreadsheet
shown in TABLE 1 below which has Mon-Fri in one column and dollar of
sales in the second column. But the catch is that each row is
separated by two blank rows. So say I would like to reference these
cells below but without skipping two rows and instead have it one after
another (Monday in first row, Tuesday in second, etc.) just like in
TABLE 2. Unfottunately, this is not possible by saying =A1 in the
first row and then logically saying go down 3 columns each time as if
to say [=A1 + "3 columns down"]. So how would I do this then? It's
very puzzling because there should be a simple way to do it. I thought
that maybe OFFSET should be used but I couldn't figure it out yet.


---TABLE 1---
Monday $100


Tuesday $80


Wednesday $120


Thursday $90


Friday $110





---TABLE 2---
Monday $100
Tuesday $80
Wednesday $120
Thursday $90
Friday $110



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 296
Default Very puzzling - how do I reference cells without the blank rows???

One way would be to use Indirect. i.e with Table 1 in A1:B13
Start table 2 in A21 with

=INDIRECT("A"&(ROW()-20)*3-2)

and copy down

Copy A21 to B21 and substiture "A" with "B"

Adjust the row references as necessary for your conditions,

HTH



On 28 Aug 2006 05:13:18 -0700, "ZMAN" wrote:

Hi,
here is something that should be much simpler to accomplish but somehow
is very difficult to figure out.

Basically, for simplicity's sake, let's say I have a simple spreadsheet
shown in TABLE 1 below which has Mon-Fri in one column and dollar of
sales in the second column. But the catch is that each row is
separated by two blank rows. So say I would like to reference these
cells below but without skipping two rows and instead have it one after
another (Monday in first row, Tuesday in second, etc.) just like in
TABLE 2. Unfottunately, this is not possible by saying =A1 in the
first row and then logically saying go down 3 columns each time as if
to say [=A1 + "3 columns down"]. So how would I do this then? It's
very puzzling because there should be a simple way to do it. I thought
that maybe OFFSET should be used but I couldn't figure it out yet.


---TABLE 1---
Monday $100


Tuesday $80


Wednesday $120


Thursday $90


Friday $110





---TABLE 2---
Monday $100
Tuesday $80
Wednesday $120
Thursday $90
Friday $110


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 634
Default Very puzzling - how do I reference cells without the blank rows???

Please don't post the same question separately to multiple groups - It
simply fragments answers, and means duplication of effort.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------



"ZMAN" wrote in message
oups.com...
Hi,
here is something that should be much simpler to accomplish but somehow
is very difficult to figure out.

Basically, for simplicity's sake, let's say I have a simple spreadsheet
shown in TABLE 1 below which has Mon-Fri in one column and dollar of
sales in the second column. But the catch is that each row is
separated by two blank rows. So say I would like to reference these
cells below but without skipping two rows and instead have it one after
another (Monday in first row, Tuesday in second, etc.) just like in
TABLE 2. Unfottunately, this is not possible by saying =A1 in the
first row and then logically saying go down 3 columns each time as if
to say [=A1 + "3 columns down"]. So how would I do this then? It's
very puzzling because there should be a simple way to do it. I thought
that maybe OFFSET should be used but I couldn't figure it out yet.


---TABLE 1---
Monday $100


Tuesday $80


Wednesday $120


Thursday $90


Friday $110





---TABLE 2---
Monday $100
Tuesday $80
Wednesday $120
Thursday $90
Friday $110



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Very puzzling - how do I reference cells without the blank rows???

OK, I understand. Thank you for your response also!



Ken Wright wrote:
Please don't post the same question separately to multiple groups - It
simply fragments answers, and means duplication of effort.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------



"ZMAN" wrote in message
oups.com...
Hi,
here is something that should be much simpler to accomplish but somehow
is very difficult to figure out.

Basically, for simplicity's sake, let's say I have a simple spreadsheet
shown in TABLE 1 below which has Mon-Fri in one column and dollar of
sales in the second column. But the catch is that each row is
separated by two blank rows. So say I would like to reference these
cells below but without skipping two rows and instead have it one after
another (Monday in first row, Tuesday in second, etc.) just like in
TABLE 2. Unfottunately, this is not possible by saying =A1 in the
first row and then logically saying go down 3 columns each time as if
to say [=A1 + "3 columns down"]. So how would I do this then? It's
very puzzling because there should be a simple way to do it. I thought
that maybe OFFSET should be used but I couldn't figure it out yet.


---TABLE 1---
Monday $100


Tuesday $80


Wednesday $120


Thursday $90


Friday $110





---TABLE 2---
Monday $100
Tuesday $80
Wednesday $120
Thursday $90
Friday $110




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 634
Default Very puzzling - how do I reference cells without the blank rows???

No problem :-)


"ZMAN" wrote in message
ups.com...
OK, I understand. Thank you for your response also!



Ken Wright wrote:
Please don't post the same question separately to multiple groups - It
simply fragments answers, and means duplication of effort.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------



"ZMAN" wrote in message
oups.com...
Hi,
here is something that should be much simpler to accomplish but somehow
is very difficult to figure out.

Basically, for simplicity's sake, let's say I have a simple spreadsheet
shown in TABLE 1 below which has Mon-Fri in one column and dollar of
sales in the second column. But the catch is that each row is
separated by two blank rows. So say I would like to reference these
cells below but without skipping two rows and instead have it one after
another (Monday in first row, Tuesday in second, etc.) just like in
TABLE 2. Unfottunately, this is not possible by saying =A1 in the
first row and then logically saying go down 3 columns each time as if
to say [=A1 + "3 columns down"]. So how would I do this then? It's
very puzzling because there should be a simple way to do it. I thought
that maybe OFFSET should be used but I couldn't figure it out yet.


---TABLE 1---
Monday $100


Tuesday $80


Wednesday $120


Thursday $90


Friday $110





---TABLE 2---
Monday $100
Tuesday $80
Wednesday $120
Thursday $90
Friday $110



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 to count blank cells that contain formula? IntricateFool Excel Discussion (Misc queries) 5 June 8th 06 02:45 PM
Listing data without blank rows Dannycol Excel Worksheet Functions 8 May 1st 06 06:05 PM
Hide columns & rows that contain "0" or blank in a range of cells lw new guest Excel Worksheet Functions 0 August 18th 05 04:27 PM
Hiding Rows if the linked rows are blank KG Excel Discussion (Misc queries) 9 May 18th 05 02:32 AM
How to delete blank rows John Mansfield Excel Discussion (Misc queries) 3 April 27th 05 11:48 PM


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