LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Sumproduct formula help (possible Index????)

Mark, try

=SUMPRODUCT(((G42:G58<I3)*(B42:B58="EX")*(H42:H58* 0.7))+
((G42:G58<I3)*(B42:B58="Current")*(H42:H58)))*A1

--
Jacob (MVP - Excel)


"Mark D" wrote:

Sorry Jacob my mistake. The VALUE was arising as some of the cells in H were
blank. I've changed my formula in H accordingly.

So that works great thank you. One last additional question if I may.

How do I wrap the whole formula to say * A1

I want to take the result against the % in A1

Thanks again

"Jacob Skaria" wrote:

Do you mean?

=SUMPRODUCT((G42:G58<I3)*(B42:B58="EX")*(H42:H58*0 .7))+
SUMPRODUCT((G42:G58<I3)*(B42:B58="Current")*(H42:H 58))

--
Jacob (MVP - Excel)


"Mark D" wrote:

Morning all

I am stuck with a forumula that I hope someone will be able to help with.
It's quite long winded the way I am doing it but am hoping that it may be
able to be shortened.

Column B Lines 42 - 58 has either "current" or "ex" in the cells

Column G lines 42 - 58 has a date in them

Column H lines 42 - 58 has either 1, 2, or 3 in them.

The line 3 (columns I AR have months of the year in them)

I need something in 1 formula that says
1. IF B42="Current" and G42<=I3 TAKE H42 otherwise 0
2. IF B42="EX" and G42<=I3 TAKE H42 *.7 otherwise 0

I was using a sumproduct formula but to run the same forumulas 16 times
(lines 42 - 58) seems too long, I was wondering if there was a way of
shortening it.

Many thanks for any help

If


 
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
index, sumproduct, or other JustBreathe Excel Worksheet Functions 3 September 6th 09 10:04 AM
Index match within sumproduct Bony Pony[_2_] Excel Discussion (Misc queries) 2 February 11th 09 12:11 PM
Problem with SUMPRODUCT(SUMIF(INDEX formula linking to external fi gina1221 Excel Worksheet Functions 3 January 14th 09 02:53 PM
maybe lookup/index/match/sumproduct been dribbled to 2007 Excel Discussion (Misc queries) 7 January 2nd 07 07:00 PM
sumproduct column index MHoffmeier Excel Worksheet Functions 3 January 31st 05 04:12 PM


All times are GMT +1. The time now is 05:29 AM.

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

About Us

"It's about Microsoft Excel"