Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Say I have the following data; in D, I want to sum values
in B if corresponding values in C=Y. The value in A serves to visually "group" the data in B,C & D; meaning, data samples "1" (A1) uses B1-D3, data samples 2 (A4) uses B4-D5. Simple enough... A B C D 1 1 1 Y 2 1 N 3 1 Y sumif($C1:$C3, "=Y", $B1:$B3), D=2 (Copy and paste 3 rows above, but only use 2 rows for next data) 4 2 1 N 5 1 Y sumif($C3:$C5, "=Y", $B3:$B5); D=1 The problem is, as illustrated, the copied/pasted formula on D5 starts in C3, since the orig. formula handled 3 rows. I want it to start in C4. Any clever way to handle this copy/paste to automatically adjust the rows I want to relate it to? -- - Zilla (Remove XSPAM) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I need a clever VLOOKUP formula | Excel Worksheet Functions | |||
automate a cut and paste of data from one work book to another | Excel Discussion (Misc queries) | |||
I wish automate a cut and paste of data from one work book to ano | Excel Worksheet Functions | |||
Automate cut/paste functions - Help! | Excel Discussion (Misc queries) | |||
HELP....Is there a way to automate copy/paste special/transpose - | Excel Worksheet Functions |