Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
conditional formatting:highlight row based on blank or non-blank c Nat Maxwell Excel Worksheet Functions 3 May 14th 23 07:43 PM
Index/match - make blank cells return a blank value. diaare Excel Worksheet Functions 3 May 3rd 23 03:44 AM
Average Formula to display blank cell if named range is blank Rachael F Excel Worksheet Functions 3 February 22nd 08 05:05 PM
Not showing blank and non blank items in filter mode for values Bhaskar Polisetty Excel Worksheet Functions 0 June 20th 06 02:04 PM
Imported Data creates blank cells that aren't really blank JackieD Excel Worksheet Functions 14 February 23rd 06 12:57 AM


All times are GMT +1. The time now is 08:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"