Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]() Heres kinda how my spreadsheet looks: Code: -------------------- A B C D 1. Disc Cost Adj Result 2. Sample1 $1.00 -1 -$1.00 3. Sample2 $5.00 -5 -$25.00 4. Sample3 $1.00 -1 -$1.00 5. 6. Sample1 $1.00 -1 -$1.00 7. Sample1 $1.00 -1 -$1.00 8. -------------------- What I need is all the cells in row "D" to multiply C*B (easy), but if there is nothing in C, then I need it to sum up the values in D (from 1 above it to the next break in numbers). So D5 would = -$27.00, and D8 would = -$2.00. This is what I have come up with so far (D5): Code: -------------------- =IF(C5="",IF(C4="","", ???),C5*B5) -------------------- Any ideas? -- c_schear ------------------------------------------------------------------------ c_schear's Profile: http://www.excelforum.com/member.php...o&userid=16494 View this thread: http://www.excelforum.com/showthread...hreadid=278720 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Seed numbers for random number generation, uniform distribution | Excel Discussion (Misc queries) | |||
Sorting when some numbers have a text suffix | Excel Discussion (Misc queries) | |||
Sorting imported "numbers" | Excel Discussion (Misc queries) | |||
Paste rows of numbers from Word into single Excel cell | Excel Discussion (Misc queries) | |||
finding common numbers in large lists | Excel Worksheet Functions |