Diffence to highest value in a specified range

chrisj2812

New Member
Joined
Apr 5, 2020
Messages
12
Office Version
  1. 2019
Hi,

My table which has a range identifyer in Column A & different values in column B, in column C i am trying to calculate the difference between the highest value in the range against the value in column B and i just can't figure it out. Help greatly appreciated!
 

Attachments

  • Screenshot 2020-10-27 102639.jpg
    Screenshot 2020-10-27 102639.jpg
    59.7 KB · Views: 5

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi

your screenshot only shows column B, not A or C, but given your information maybe try this formula:

Excel Formula:
=MAX(A:A)-B1
 
Upvote 0
Hi,

Maybe i didn't explain it well. In Column C i want the answer. ie. For Time range 12.30 in cell B2 the value is 128.27 so C2 would be 0 (as it is the highest number), in cell B3 the value is 127.95, so in cell C3 would be the value 0.32 (128.27-127.95) and so on,
 
Upvote 0
Hi

your screenshot only shows column B, not A or C, but given your information maybe try this formula:

Excel Formula:
=MAX(A:A)-B1
Sorry, i see the confusion, for the columns i just said A, B, C to designate 3 columns, not like the actual data table which has lots.
 
Upvote 0
Maybe
Excel Formula:
=MAXIFS($AH$2:$AH$100,$B$2:$B$100,B2)-AH2
 
Upvote 0
Solution

Forum statistics

Threads
1,214,885
Messages
6,122,090
Members
449,065
Latest member
Danger_SF

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