Excel comparing data

Hi all,

Grateful for advice on creating a formula in excel.

I am attaching worksheet for ease of use.

I have two sets of data in two different tabs.

I'm trying to do  a a comparison of amounts based on column A, i.e. check column A in both tabs and if the you find the same number compare the corresponding amounts (total them if need be) and see if they are different. If they are, give me the difference.

I dont mind if this is done in stages.

Thanks
Test.xls
PipMicAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ShumsExcel & VBA ExpertCommented:
Hi,

Try below formula in E1 on a1 tab and drag down:
=IF(SUMIF($A:$A,$A1,$D:$D)=SUMIF('a2'!$A:$A,$A1,'a2'!$D:$D),"","Difference")

Open in new window

Check attached...
PipMic_Excel_Comparing_Data.xlsx
2

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
PipMicAuthor Commented:
It seems to work,  Will need to check.

I think I understand the formula,

i.e. in the column A get the value for A1... $D:$D)  (not sure about this???

Don't understand the comparison.....

Grateful for an explanation
0
ShumsExcel & VBA ExpertCommented:
Formula checks the sum (Col D) of both the sheet's Col A and shows you the difference.
0
ShumsExcel & VBA ExpertCommented:
Solution provided worked.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.