Help required with Excel formula

WelshWarlock

New Member
Joined
May 25, 2023
Messages
3
Office Version
  1. 2021
Platform
  1. Windows
Hi all.

This one is probably going to be easy to seasoned veterans but unfortunately I’ve been trying to figure this one out on my own with no luck, although not very gifted when it comes to excel.

I have 3 columns of numbers currently.

Column A represents one persons list of guesses for average attendance numbers per game (football) during the season.

Column B represents another persons set of guesses.

Column C is the actual number.

I’d like a formula for a new Column D, which shows how much closer (or further away) column A was than column B, to the actual number listed in column C.

So if A guesses 10,000 and B guesses 10,500 and the attendance in C was actually 10,400, I would like column D to be “-400”, but should A be closer than B I’d like the number to be listed as a positive.

Hope this makes sense, and thanks very much in advance to anyone who is able to help.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Correction to the above, in the example I gave the answer should be listed as “-300”.

A was -400 off the actual number, B was -100 off the actual number.

Column D should then read -300.
 
Upvote 0
Welcome to the MrExcel board!

See if this does what you want.

23 05 25.xlsm
ABCD
1ABActualDiff
210,00010,50010,400-300
310,50010,00010,400300
411,00012,00011,0001,000
510,00011,00010,5000
Compare Guesses
Cell Formulas
RangeFormula
D2:D5D2=ABS(C2-B2)-ABS(C2-A2)
 
Upvote 1
Solution
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,215,131
Messages
6,123,222
Members
449,091
Latest member
jeremy_bp001

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