Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I am using the formula =SUM('1:31'!K51) to get sum across multiple sheets. In cell A1= 1 A2= 31 I want something like. =SUM('cell(A2):cell(A2)'!K51) in which I can vary values in cells A1 & A2. If A1 & A2 are same, it should return one value instead of sum. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT(""&A1&":"& A2))&"'!K51")))
-- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Sinner" wrote in message ... Hi, I am using the formula =SUM('1:31'!K51) to get sum across multiple sheets. In cell A1= 1 A2= 31 I want something like. =SUM('cell(A2):cell(A2)'!K51) in which I can vary values in cells A1 & A2. If A1 & A2 are same, it should return one value instead of sum. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Mar 5, 12:47*am, "Bob Phillips" wrote:
=SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT(""&A1&":"& A2))&"'!K51"))) -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Sinner" wrote in message ... Hi, I am using the formula =SUM('1:31'!K51) to get sum across multiple sheets. In cell A1= 1 A2= 31 I want something like. =SUM('cell(A2):cell(A2)'!K51) in which I can vary values in cells A1 & A2. If A1 & A2 are same, it should return one value instead of sum.- Hide quoted text - - Show quoted text - Hi Bob, Worked like a charm : ) I wanna return blank in case both A1 & A2 are blank? Thx again man. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(OR(A1="",A2=""),"",SUMPRODUCT(N(INDIRECT("'"&R OW(INDIRECT(""&A1&":"&A2))&"'!K51"))))
-- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Sinner" wrote in message ... On Mar 5, 12:47 am, "Bob Phillips" wrote: =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT(""&A1&":"& A2))&"'!K51"))) -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Sinner" wrote in message ... Hi, I am using the formula =SUM('1:31'!K51) to get sum across multiple sheets. In cell A1= 1 A2= 31 I want something like. =SUM('cell(A2):cell(A2)'!K51) in which I can vary values in cells A1 & A2. If A1 & A2 are same, it should return one value instead of sum.- Hide quoted text - - Show quoted text - Hi Bob, Worked like a charm : ) I wanna return blank in case both A1 & A2 are blank? Thx again man. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
add information from multiple sheets into one box on another sheet | Excel Discussion (Misc queries) | |||
Summary Sheet help with multiple sheets | Excel Discussion (Misc queries) | |||
multiple sheets vs. 1 sheet | Excel Worksheet Functions | |||
Combine multiple sheets into one sheet? | Excel Discussion (Misc queries) | |||
one sheet to another, when teh lines vary | Excel Worksheet Functions |