SUMIFs, SUMPRODUCT, and INDIRECT

lilsaint01

New Member
Joined
Sep 6, 2019
Messages
8
Good Day,

I am trying to solve this issue, but I didn't find any mistake in the formula.
Could someone please help me check or correct the formula?
Thank you

You can check the file in this link: TEST FORMULA.xlsx

???
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Perhaps if you provided some kind of clue as to what you need then you might get some help.

The majority of helpers on the forum are not able to download attached files, so a thread with no question will likely get no answer.
 
Upvote 0
I am not good at explaining since my English is not that good.
So I will upload the picture instead.

What I'm trying to do is to calculate column E base on code on column A.
Before this, I did the same formula on the other file and it worked, but no for this file, so I want to know why this formula is not working here.

Sorry for the bad quality of the picture
 

Attachments

  • 8FE26D91-2D98-4F87-B9B1-0BA25EFF8B77.jpg
    8FE26D91-2D98-4F87-B9B1-0BA25EFF8B77.jpg
    218.1 KB · Views: 15
  • D73CC999-43CD-4C24-9C78-42C01B48E7F3.jpg
    D73CC999-43CD-4C24-9C78-42C01B48E7F3.jpg
    215.7 KB · Views: 13
  • 25B2D3FE-5315-457F-97E6-7237238C60CC.jpg
    25B2D3FE-5315-457F-97E6-7237238C60CC.jpg
    123.3 KB · Views: 15
  • 577B99FE-102C-40BE-9271-BE863DD77456.jpg
    577B99FE-102C-40BE-9271-BE863DD77456.jpg
    237.5 KB · Views: 13
Upvote 0
Try SUMIF instead of SUMIFS

The syntax of the 2 differs slightly, to use SUMIFS the criteria, $A2 would need to be after the second INDIRECT(), not before.
 
Upvote 0
I did as you said,

But the formula still not working.

However, I did the same calculation in another file and its working.
 

Attachments

  • test.jpg
    test.jpg
    145.7 KB · Views: 13
Upvote 0
PRICE & CODE LIST
M2
Add space behind ="PI.001-20 "

M12
Remove End ="PI.013-20"

Total
C4
=SUMPRODUCT(SUMIF(INDIRECT("'"&JAN_Order[JAN]&"'!A16:A89"),$A4,INDIRECT("'"&JAN_Order[JAN]&"'!E16:E89")))
 
Upvote 0
Dear Sir @Bo_Ry Thank you so much, I didn't realize there such a mistake in the file but you found it.

I fix it and the formula working perfectly. Thank you.

:biggrin: :biggrin: :biggrin:
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,173
Members
452,615
Latest member
bogeys2birdies

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