# Comparing number values in different colums

1. ## Comparing number values in different colums

Hi!

First time poster with a dilemma on his hands. I'm a bit rusty after having not used Excel for work related things for over a year so bear with me.

In my table (please see the attachment) there are numbers under "ID" (columns A & F) and "dollars" (colums B&G). So each ID number has some kind of dollar value: the ID is a cost-site and the dollar number is an actual cost.
Now, I'd like to accomplish two things: 1) I would need to check that all the ID numbers in colums A and F match each other and get a warning of some kind if they don't in each instance. So basically I need to know if there are ID numbers in column A that aren't in column F and vice versa and I need a warning for all of them.

Then 2) I would need a way to compare the dollar numbers associated with the ID numbers so that I would see if the dollars in column B associated with the ID number 3040 match the dollars in column G that has the same ID number. So in plain English, I need to check that the dollar cost of a specific cost site, let's say ID 1 cost-site 8901 (in which the cost is 23) matches with the costs in ID 2 cost-site 8901 (they do, in this example). I also need a warning of some kind if the dollar values in the same cost-site in ID 1 and ID 2 don't match in each instance.

I'm assuming that I would need a formula using "IF", "Match" and maybe some kind of lookup function but I just kind wrap my head around this right now. My original table has much more information so manually completing this would be a chore. The formula doesn't have to be in only one column.

2. ## Re: Comparing number values in different colums

Welcome to the board!

``Please Login or Register  to view this content.``
Then you can use conditional formatting to alert you to a False cell.

3. ## Re: Comparing number values in different colums

That works like a charm! My thanks and reputation points.

4. ## Re: Comparing number values in different colums

Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

In future, to mark your thread as Solved, you can do the following -

Incase your issue is not solved, you can undo it as follows -

Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.

5. ## Re: Comparing number values in different colums

Ok, wasn't aware of the solved tool! The reputation thing I got covered already.

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1