• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

COUNTIFS help

I am trying to use COUNTIFS function to count the number of tickets based on dates and material and should show the number of tickets for each month for each material.

I have the main data in enter_data tab and what to extract the data to loads_qty to get number of LOADS for each month. In the enter_data tab each ticket is a LOAD.

Also on the invoice page how can I display data from enter_data tab. I want to extract

Date / Ticket / PLANT_MATERIAL_VENDOR / QTY / FREIGHT RATE / AMOUNT

the above data should be displayed based on the date range and the Hauler.

Thanks for your help
 

Attachments

  • UPDATED_HAULERS.xlsx
    30.9 KB · Views: 7
Hi:

Can't you pull a pivot for this?

Thanks
 

Attachments

  • UPDATED_HAULERS.xlsx
    35.8 KB · Views: 6
Is this what you are looking for?

=COUNTIFS(qty,"<>",date,">=" &0+("1/"&$A9),date,"<="&EOMONTH(0+("1/"&$A9),0),matls,$B$1)
 
Thanks for your help. Trying to avoid hitting refresh button each time data is entered. My boss doesnt know how to do that.
But you could add a small macro that refreshes the PT each time the sheet is accessed...
You can find it easily on the Net
 
Back
Top