help with formula

kennettz

New Member
Joined
Nov 8, 2024
Messages
2
Office Version
  1. 365
I have a query with an excel formula that I’m trying to create and think I’ve been looking at it too long now! and need help from the experts!
I want it to count the unique values when the two calculations in the following formula are combined.

For example there are 29 school names that fall within dates in tab called ‘master’ and 18 schools in the ‘end of placement’ tab totalling 47 – the answer I have, using the formula below, is correct. However, if we look at the names in both the master sheet and end of placements tabs there are duplicate school names. After taking out the duplicates, the answer should be 36. What do I need to add / remove from the formula to tell it count only the unique number of schools by name and not the sum?

1731055843079.png
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Welcome to the MrExcel board!

"Prefer not to say" for your Office version in your profile is completely unhelpful. :(
You are asking for a formula to give your desired result but different functions are available in different Excel versions so how do we know which ones are available to you when you don't tell us your version?

It would also be helpful if you gave us a smallish set of sample data and the expected results with XL2BB and explained again in relation to that sample data.
(If you have trouble with XL2BB, review the "XL2BB Icons greyed out" link in the 'Known XL2BB issues' section near the top of the XL2BB Instructions page linked above.)
 
Upvote 0
I have a query with an excel formula that I’m trying to create and think I’ve been looking at it too long now! and need help from the experts!
I want it to count the unique values when the two calculations in the following formula are combined.

For example there are 29 school names that fall within dates in tab called ‘master’ and 18 schools in the ‘end of placement’ tab totalling 47 – the answer I have, using the formula below, is correct. However, if we look at the names in both the master sheet and end of placements tabs there are duplicate school names. After taking out the duplicates, the answer should be 36. What do I need to add / remove from the formula to tell it count only the unique number of schools by name and not the sum?

View attachment 119052
Thank you for your response - i'm using 365 - apologies but I'm unable to upload a mini sheet (work based restrictions) - and the jpeg file is too large too despite compressing!
 
Upvote 0
Thanks for the version information. However, without some sample data to set up a test workbook with some relevant data in the relevant layout I'm finding it very difficult to understand just what you have and where it is and therefore difficult to offer anything useful. Also, if your were able to provide us with some small sample data and explain again in relation to that data please also provide the actual formula (ie copy paste) rather than a picture of it which we cannot copy from.
 
Upvote 0

Forum statistics

Threads
1,223,577
Messages
6,173,164
Members
452,504
Latest member
frankkeith2233

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