A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sumproduct formula help (possible Index????)



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old June 1st, 2010, 10:38 AM posted to microsoft.public.excel.worksheet.functions
Mark D
external usenet poster
 
Posts: 62
Default Sumproduct formula help (possible Index????)

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
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:47 AM.


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