We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Excel Formula Question
Options
Comments
-
Think this may work
=IF(COUNTIF(B:B,B2)>1,"More than 1 date","Only 1 day")
Basically, it checks the cell range B:B (dates entered being in column b) and looks to see how many times the entry from cell B2 appears in that range, the formula than says if that date appears >1 time, then "more than 1 day worked", otherwise if it appears only once then "only 1 day worked"
Does that help, formula can then be replicated down the sheet?
EDIT - Attached picture, probably easier to explain looking at it than typing it.
Thanks for you help but just worked out a better way, it is using the frequency function, see the following
=SUM(IF(FREQUENCY(A1:A10,A1:A10)>0,1))
It works a treat.
Thanks for all your help, that was a real brain teaser.0 -
NP, always like helping
P.S Use the [code] tag, it's better for hiding those damn angel faces lolOwner of andrewhope.co.uk, hate cars and love them
Working towards DFD
HSBC Credit Card - £2700 / £7500
AA Loans - (cleared £9700)0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 350.8K Banking & Borrowing
- 253.1K Reduce Debt & Boost Income
- 453.5K Spending & Discounts
- 243.8K Work, Benefits & Business
- 598.7K Mortgages, Homes & Bills
- 176.8K Life & Family
- 257.1K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards