Need a formula (maybe IF statement)

lovelyanai

New Member
Joined
Mar 21, 2011
Messages
3
I was wondering if someone could knew of a formula that would identify any rows where the dates and gross amounts match but voucher number is different.


<TABLE style="WIDTH: 855pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=1139 border=0><COLGROUP><COL style="WIDTH: 35pt; mso-width-source: userset; mso-width-alt: 1718" width=47><COL style="WIDTH: 57pt; mso-width-source: userset; mso-width-alt: 2779" width=76><COL style="WIDTH: 71pt; mso-width-source: userset; mso-width-alt: 3437" width=94><COL style="WIDTH: 210pt; mso-width-source: userset; mso-width-alt: 10240" width=280><COL style="WIDTH: 212pt; mso-width-source: userset; mso-width-alt: 10349" width=283><COL style="WIDTH: 71pt; mso-width-source: userset; mso-width-alt: 3437" width=94><COL style="WIDTH: 199pt; mso-width-source: userset; mso-width-alt: 9691" width=265><TBODY><TR style="HEIGHT: 16.5pt" height=22><TD class=xl65 style="BORDER-RIGHT: windowtext 2pt double; BORDER-TOP: windowtext 2pt double; BORDER-LEFT: windowtext 2pt double; WIDTH: 35pt; BORDER-BOTTOM: windowtext 2pt double; HEIGHT: 16.5pt; BACKGROUND-COLOR: silver" width=47 height=22>Unit</TD><TD class=xl65 style="BORDER-RIGHT: windowtext 2pt double; BORDER-TOP: windowtext 2pt double; BORDER-LEFT: windowtext; WIDTH: 57pt; BORDER-BOTTOM: windowtext 2pt double; BACKGROUND-COLOR: silver" width=76>Voucher</TD><TD class=xl65 style="BORDER-RIGHT: windowtext 2pt double; BORDER-TOP: windowtext 2pt double; BORDER-LEFT: windowtext; WIDTH: 71pt; BORDER-BOTTOM: windowtext 2pt double; BACKGROUND-COLOR: silver" width=94>Vendor</TD><TD class=xl65 style="BORDER-RIGHT: windowtext 2pt double; BORDER-TOP: windowtext 2pt double; BORDER-LEFT: windowtext; WIDTH: 210pt; BORDER-BOTTOM: windowtext 2pt double; BACKGROUND-COLOR: silver" width=280>Name</TD><TD class=xl65 style="BORDER-RIGHT: windowtext 2pt double; BORDER-TOP: windowtext 2pt double; BORDER-LEFT: windowtext; WIDTH: 212pt; BORDER-BOTTOM: windowtext 2pt double; BACKGROUND-COLOR: silver" width=283>Invoice</TD><TD class=xl65 style="BORDER-RIGHT: windowtext 2pt double; BORDER-TOP: windowtext 2pt double; BORDER-LEFT: windowtext; WIDTH: 71pt; BORDER-BOTTOM: windowtext 2pt double; BACKGROUND-COLOR: silver" width=94>Date</TD><TD class=xl65 style="BORDER-RIGHT: windowtext 2pt double; BORDER-TOP: windowtext 2pt double; BORDER-LEFT: windowtext; WIDTH: 199pt; BORDER-BOTTOM: windowtext 2pt double; BACKGROUND-COLOR: silver" width=265>Gross Amt</TD></TR></TBODY></TABLE>
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
You can try
if your data are in column A-G
In column H copy down(works for Excel 2007 and above)

=COUNTIFS($F$2:$F$8,F2,$G$2:$G$8,G2,$B$2:$B$8,"<>"&B2)

any rows greater that 1 woudl indicate your requirments.
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,841
Members
452,948
Latest member
UsmanAli786

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