Combine SUM FREQUENCY IF formula with multiple IFS

L

Legacy 469343

Guest
How can I ensure that pending orders are set to 0 once all items of the same order from the same company have been delivered? As you can see I have marked all items as delivered in column F, but 1 order remains open as pending?

Formula used in pending orders is: =SUM(--(FREQUENCY(IF(F4:F15="",B4:B15),B4:B15)>0))
 

Attachments

  • 1.png
    1.png
    20.2 KB · Views: 13

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Your formula works for me.
+Fluff v2.xlsm
ABCDEF
1
21
3
443050x
543050x
643050x
743050x
843050x
943050x
1045065
1145065
1245065
1345068x
1445068x
1545068x
Main
Cell Formulas
RangeFormula
C2C2=SUM(--(FREQUENCY(IF(F4:F15="",B4:B15),B4:B15)>0))
 
Upvote 0
I filled in all the cells as delivered, but it keeps saying 1 order is still pending?
 

Attachments

  • 1.png
    1.png
    20.2 KB · Views: 10
Upvote 0
Does it make any difference if you use the table references like
Excel Formula:
=SUM(--(FREQUENCY(IF(Table4[Del. Com.]="",Table4[Orders]),Table4[Orders])>0))
 
Upvote 0
Solution
Does it make any difference if you use the table references like
Excel Formula:
=SUM(--(FREQUENCY(IF(Table4[Del. Com.]="",Table4[Orders]),Table4[Orders])>0))
I get the following error when I enter your formula and hit SHIFT + CTRL + ENTER
 

Attachments

  • 1.png
    1.png
    10.2 KB · Views: 9
Upvote 0
Did you change the table and column names to suit?
 
Upvote 0
I changed the table name to Table1 instead of table4, since it's one table. Now it works, thanks!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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