sumproduct

jessicafang

Board Regular
Joined
Jul 8, 2015
Messages
115
Hi everyone,

Need help from you guys.

TO avoid having #value, I have to use sumproduct formula, can I include <"01/01/2015" within the sumproduct formula as I need to sumif the column B under the condition of before 2015 and after 2015 without creating a new column.

Many thanks,
Jess
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Hi everyone,

Need help from you guys.

TO avoid having #value, I have to use sumproduct formula, can I include <"01/01/2015" within the sumproduct formula as I need to sumif the column B under the condition of before 2015 and after 2015 without creating a new column.

Many thanks,
Jess

Hi Jessica,

I would use sumifs formula instead. but that will depend on which version of Excel you're using.
 
Upvote 0
Thanks for you reply. I am using 2013 Excel. Would sumifs won't give me #value when I close the linked file?
 
Upvote 0
Thanks for you reply. I am using 2013 Excel. Would sumifs won't give me #value when I close the linked file?

HA :rolleyes:

The eternal problem of external links... (I just hate them ;) )

The information from external links only updates if you tell Excel to do it. try to disable the automatic external links update and it will solve the problem.

Another way is to incorporate the sheet you have the information into the spreadsheet and hide it. (you can set up a "veryhidden" status on the code view and prevent other users to see it (unless of course they know how to look for it).
 
Upvote 0
Hi Maybe
=SUMPRODUCT(--(B2:B6>=B2),--(B2:B6<=B3),--(A2:A6)) 23=VALUE BETWEEN 1/1/2014 AND 4/23/2015



VALUE DATE
41/1/2014
2 4/23/2015
61/1/2016
74/5/2014
102/23/2015

<colgroup><col width="56" span="2" style="width:42pt"> </colgroup><tbody>
</tbody>

<colgroup><col width="56" span="2" style="width:42pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
Thanks for you reply. I am using 2013 Excel. Would sumifs won't give me #value when I close the linked file?
If you could post what your sumif(s) formula would look like if that wasn't an issue.
That would make it easier to convert it to sumproduct.
 
Upvote 0
You are a STAR. It worked. I guess I can't use "01/01/2015", I had to select the cell for it to work.
 
Upvote 0
can I include <"01/01/2015" within the sumproduct formula

Within the sumproduct, you'd have to convert "01/01/2015" to a real date, sumproduct is seeing it as just a text string.

Try it like
<"01/01/2015"+0
Or even
< DATE(2015,1,1)
<date(2015,1,1)< html=""></date(2015,1,1)<>
 
Upvote 0
Within the sumproduct, you'd have to convert "01/01/2015" to a real date, sumproduct is seeing it as just a text string.

Try it like
<"01/01/2015"+0
Or even
< DATE(2015,1,1)
<date(2015,1,1)< html=""></date(2015,1,1)<>

It didn't work, just tried both, not sure where I did was wrong though.:(
 
Upvote 0
Well, it's certainly possible to hard code dates into a formula.
To find out why it's not working for you, You'd have to post the sumproduct you tried that failed.
And it would help to see the sumif(s) that works when the book is open.
 
Upvote 0

Forum statistics

Threads
1,214,942
Messages
6,122,366
Members
449,080
Latest member
Armadillos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top