We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 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
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
- 351.7K Banking & Borrowing
- 253.4K Reduce Debt & Boost Income
- 454K Spending & Discounts
- 244.7K Work, Benefits & Business
- 600.2K Mortgages, Homes & Bills
- 177.3K Life & Family
- 258.4K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.6K Read-Only Boards