Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sum Until next Blank 2
=IF(F24="","",IF(G24="",SUM(H25:***here***),G24*IF (ISNA(VLOOKUP(F24,A:H,8,FALSE))=TRUE,VLOOKUP(F24,P RICING!A:C,3,FALSE),VLOOKUP(F24,A:H,8,FALSE))))
is there code that will identify the next cell in a column with a specific value? that being the case I could use "" as that value any thoughts? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sum Until next Blank 2
This is bulky, but it works. If you enter this somewhere in row 24, sums H25
till it finds a blank in column G after current row (24). =IF(F24="","",IF(G24="",SUM(INDIRECT("H"&ROW()+1&" :C"&MIN(IF(ISBLANK(G25:G100)*ROW(G25:G100)=0,10000 0,ISBLANK(G25:G100)*ROW(G25:G100))))),G24*IF(ISNA( VLOOKUP(F24,A:H,8,FALSE)E,VLOOKUP(F24,PRICING!A:C, 3,FALSE),VLOOKUP(F24,A:H,8,FALSE)))) You'll also need to enter this as an array, by pressing Ctrl+Shift+Enter. -- Best Regards, Luke M *Remember to click "yes" if this post helped you!* "woozlemonk" wrote: =IF(F24="","",IF(G24="",SUM(H25:***here***),G24*IF (ISNA(VLOOKUP(F24,A:H,8,FALSE))=TRUE,VLOOKUP(F24,P RICING!A:C,3,FALSE),VLOOKUP(F24,A:H,8,FALSE)))) is there code that will identify the next cell in a column with a specific value? that being the case I could use "" as that value any thoughts? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
conditional formatting:highlight row based on blank or non-blank c | Excel Worksheet Functions | |||
Index/match - make blank cells return a blank value. | Excel Worksheet Functions | |||
Average Formula to display blank cell if named range is blank | Excel Worksheet Functions | |||
Not showing blank and non blank items in filter mode for values | Excel Worksheet Functions | |||
Imported Data creates blank cells that aren't really blank | Excel Worksheet Functions |