question to total service types based on certain selections

steve400243

Active Member
Joined
Sep 15, 2016
Messages
429
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
On my spreadsheet Column “R” on ‘Spot Quotes Tab’, has a dropdown with several Service types that a user can select, as shown below. Column “X” has a yes or no dropdown, If yes is selected I need the formula to count up, by service type, on another tab “New Customer Report”. So If 'AE' is selected in Column R, on Spot Quotes, and 'YES' in column X, is also Selected it would count 1 next to AE in cell D25 on the “New Customer Report” . If “NO” is selected it would not count it. Make sense? Thanks for all help

AE (D25) 1

OE FCL
OE LCL
AI
OI FCL
OI LCL
INLAND
SURFACE
ORIGIN/DEST
F/F
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
If anyone is looking at this, I was able to figure it out by adding in a week number column, with the below code - No need to keep working on it. Thank you.

Code:
=COUNTIFS('Spot Quotes'!$A:$A,WeekNo,'Spot Quotes'!X:X,"YES",'Spot Quotes'!R:R,"AE")
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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