A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Very puzzling - how do I reference cells without the blank rows???



 
 
Thread Tools Display Modes
  #1  
Old August 28th, 2006, 01:13 PM posted to microsoft.public.excel.worksheet.functions
ZMAN
external usenet poster
 
Posts: 5
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  
Old August 28th, 2006, 01:21 PM posted to microsoft.public.excel.worksheet.functions
Bob Phillips
external usenet poster
 
Posts: 5,994
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  
Old August 28th, 2006, 01:38 PM posted to microsoft.public.excel.worksheet.functions
Richard Buttrey
external usenet poster
 
Posts: 136
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  
Old August 28th, 2006, 02:11 PM posted to microsoft.public.excel.worksheet.functions
Ken Wright
external usenet poster
 
Posts: 199
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  
Old August 28th, 2006, 03:09 PM posted to microsoft.public.excel.worksheet.functions
ZMAN
external usenet poster
 
Posts: 5
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  
Old August 28th, 2006, 07:36 PM posted to microsoft.public.excel.worksheet.functions
Ken Wright
external usenet poster
 
Posts: 199
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



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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