#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Formula Assistance

I need help with an "if" formula.

Agent# Date Amount
12345 7/17/2008
12345 7/17/2008 6.54
12345 7/17/2008 0.52
12345 7/28/2008 0.12

I need the formula to tell me if the agent has duplicate date entries.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default Formula Assistance

=SUMPRODUCT(--($E$4:$E$15=E4),--($F$4:$F$15=F4))
Assumining that the agent number are in e4-e15
and the dates are in f4-f15
This will get you what you want

if you put this formula in G4 - you would have to copy down to g15
--
Wag more, bark less


"Phxlatinoboi®" wrote:

I need help with an "if" formula.

Agent# Date Amount
12345 7/17/2008
12345 7/17/2008 6.54
12345 7/17/2008 0.52
12345 7/28/2008 0.12

I need the formula to tell me if the agent has duplicate date entries.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Formula Assistance

Try this array formula**. Assuming there are no empty date cells.

=IF(COUNTIF(A2:A5,A2)=COUNT(1/FREQUENCY(IF(A2:A5=A2,B2:B5),B2:B5)),"no
dupes","dupes")

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"Phxlatinoboi®" wrote in message
...
I need help with an "if" formula.

Agent# Date Amount
12345 7/17/2008
12345 7/17/2008 6.54
12345 7/17/2008 0.52
12345 7/28/2008 0.12

I need the formula to tell me if the agent has duplicate date entries.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need assistance with a formula - If then??? Bookmdano Excel Worksheet Functions 3 October 3rd 07 08:52 PM
Formula Assistance Mharper New Users to Excel 2 July 11th 07 09:10 PM
Formula Assistance Please yukon_phil Excel Worksheet Functions 8 July 19th 06 04:53 PM
Assistance with Formula Joe D. Excel Worksheet Functions 1 March 11th 06 05:03 AM
Formula Assistance Chris Cred via OfficeKB.com Excel Discussion (Misc queries) 7 January 20th 06 05:25 AM


All times are GMT +1. The time now is 03:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"