Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have to build a workbook where columns of data will be cut and pasted into
Tab 1, then the column totals need to appear automatically on Tab 2. The problem is that the number of rows of data in Tab 1 will be variable and unpredictable, although the columns will always start in a known row. I might be able to do it by something like =SUM('Tab 1'!I7:I65535) but is there a more precise way? |
#2
![]() |
|||
|
|||
![]()
Here is one way
=SUM(OFFSET('Tab 1'!I7,,,'Tab 1'!COUNTA(I:I)-'Tab 1'!COUNTA(I1:I6))) -- HTH RP (remove nothere from the email address if mailing direct) "Brian" wrote in message ... I have to build a workbook where columns of data will be cut and pasted into Tab 1, then the column totals need to appear automatically on Tab 2. The problem is that the number of rows of data in Tab 1 will be variable and unpredictable, although the columns will always start in a known row. I might be able to do it by something like =SUM('Tab 1'!I7:I65535) but is there a more precise way? |
#3
![]() |
|||
|
|||
![]()
If it's the whole column you want the total for you can use:
=SUM('Tab 1'!I:I) "Brian" wrote: I have to build a workbook where columns of data will be cut and pasted into Tab 1, then the column totals need to appear automatically on Tab 2. The problem is that the number of rows of data in Tab 1 will be variable and unpredictable, although the columns will always start in a known row. I might be able to do it by something like =SUM('Tab 1'!I7:I65535) but is there a more precise way? |
#4
![]() |
|||
|
|||
![]()
Bob,
This generates an error. The "Tab 1" after the 3 commas is highlighted. I am using XL2000. Brian "Bob Phillips" wrote in message ... Here is one way =SUM(OFFSET('Tab 1'!I7,,,'Tab 1'!COUNTA(I:I)-'Tab 1'!COUNTA(I1:I6))) -- HTH RP (remove nothere from the email address if mailing direct) "Brian" wrote in message ... I have to build a workbook where columns of data will be cut and pasted into Tab 1, then the column totals need to appear automatically on Tab 2. The problem is that the number of rows of data in Tab 1 will be variable and unpredictable, although the columns will always start in a known row. I might be able to do it by something like =SUM('Tab 1'!I7:I65535) but is there a more precise way? |
#5
![]() |
|||
|
|||
![]()
Brian,
Sorry my mistake, I added the sheets at the end,wrongly. Try this =SUM(OFFSET('Tab 1'!I7,,,COUNTA('Tab 1'!I:I)-COUNTA('Tab 1'!I1:I6))) -- HTH RP (remove nothere from the email address if mailing direct) "Brian" wrote in message ... Bob, This generates an error. The "Tab 1" after the 3 commas is highlighted. I am using XL2000. Brian "Bob Phillips" wrote in message ... Here is one way =SUM(OFFSET('Tab 1'!I7,,,'Tab 1'!COUNTA(I:I)-'Tab 1'!COUNTA(I1:I6))) -- HTH RP (remove nothere from the email address if mailing direct) "Brian" wrote in message ... I have to build a workbook where columns of data will be cut and pasted into Tab 1, then the column totals need to appear automatically on Tab 2. The problem is that the number of rows of data in Tab 1 will be variable and unpredictable, although the columns will always start in a known row. I might be able to do it by something like =SUM('Tab 1'!I7:I65535) but is there a more precise way? |
#6
![]() |
|||
|
|||
![]()
Bob,
That works for me. Many thanks. Brian "Bob Phillips" wrote in message ... Brian, Sorry my mistake, I added the sheets at the end,wrongly. Try this =SUM(OFFSET('Tab 1'!I7,,,COUNTA('Tab 1'!I:I)-COUNTA('Tab 1'!I1:I6))) -- HTH RP (remove nothere from the email address if mailing direct) "Brian" wrote in message ... Bob, This generates an error. The "Tab 1" after the 3 commas is highlighted. I am using XL2000. Brian "Bob Phillips" wrote in message ... Here is one way =SUM(OFFSET('Tab 1'!I7,,,'Tab 1'!COUNTA(I:I)-'Tab 1'!COUNTA(I1:I6))) -- HTH RP (remove nothere from the email address if mailing direct) "Brian" wrote in message ... I have to build a workbook where columns of data will be cut and pasted into Tab 1, then the column totals need to appear automatically on Tab 2. The problem is that the number of rows of data in Tab 1 will be variable and unpredictable, although the columns will always start in a known row. I might be able to do it by something like =SUM('Tab 1'!I7:I65535) but is there a more precise way? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I sort by row instead of by column? | Excel Worksheet Functions | |||
Format cell in column B based on value in the next cell (column c) | Excel Discussion (Misc queries) | |||
Finding intersection of row and column (both variable) in table | Excel Worksheet Functions | |||
Putting text in a column based on variable text from another colum | Excel Discussion (Misc queries) | |||
Copying the contents of a column into a chart | Excel Worksheet Functions |