SUMPRODUCT formula not working

kitsa

Board Regular
Joined
Mar 4, 2016
Messages
111
Office Version
  1. 365
  2. 2016
Hi,
I'm having issue with my formula for SUMPRODUCT. It give me the figures I want, but when I put in a text in Column "L" it come up as #VALUE!, unsure why. Is anyone able to explain this or is there something I can do to overcome this? please check uploaded image, as this may help?
VBA Code:
=SUMPRODUCT(('ESS Inv Data Entry'!$D$16:$D$59=Invoice!B18)*('ESS Inv Data Entry'!$J$14:$W$14=$G$16)*'ESS Inv Data Entry'!$J$16:$W$59)

Thanks in advance.
 

Attachments

  • Capture 2.JPG
    Capture 2.JPG
    171 KB · Views: 5

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
For that cell you have put "test" in,
- what sheet is it in?
- what row is it in?
 
Upvote 0
It's on the image. Sheet 1 called "ESS Inv Data Entry" on row 14.
 
Upvote 0
It's on the image.
Sorry, I couldn't see the sheet name on any of the images or the the row numbers on the first or third image, hence my question. :)

Are you sure that "test" cell is in L14 and not L16? I'm asking because this part of your formula
('ESS Inv Data Entry'!$J$14:$W$14=$G$16)
by my best guess appears to be trying to match "E" in the row 2 rows above the "test" cell. Is that the case?
 
Upvote 0

Forum statistics

Threads
1,215,339
Messages
6,124,381
Members
449,155
Latest member
ravioli44

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