Simple subtraction

elersbuh

New Member
Joined
Oct 9, 2023
Messages
7
Office Version
  1. 365
Platform
  1. Windows
I am trying use a simple subtraction formula on excel referencing values that appear using a vlookup.

As you can see in the image below, you can enter a point number in B36 and B37, the relevant easting and northing for both points will appear in adjacent cells. What I am trying to do is calculate the delta easting/northing between both points. It is a simple subtraction but when whenever I try to input the formula is does not work and I am not too sure why?
 

Attachments

  • excel.png
    excel.png
    21.4 KB · Views: 12
CPPSIS5060 EXCELL Assessment 1 Worksheet.xlsx
ABCD
35Point EastingNorthing
36FROM8566036 6378999
37TO9568634 6377941
38Delta EDelta N
3969
Sheet1
Cell Formulas
RangeFormula
C36:C37C36=VLOOKUP(B36,Table2,2,TRUE)
D36:D37D36=VLOOKUP(B36,Table2,3,TRUE)
C39C39=UNICODE(RIGHT(C38,1))
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
I havent changed anything from what you have done
Yes you have - in post #8 you have it in columns L:Q, not B:G like Alex. So your formulas in column Q are referencing cells in columns C:D not M:N. (I don't think that is your underlying problem though)
 
Upvote 0

Forum statistics

Threads
1,215,089
Messages
6,123,058
Members
449,091
Latest member
ikke

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