Query : In offset function i am not able to subtract two values

Nouman381

New Member
Joined
Sep 13, 2020
Messages
7
Office Version
  1. 2019
Platform
  1. Windows
Respected Experts,

My query is that i am going to use Offset function and i want to subtract the last two values,
Since i have to add a column daily to right so i am using offset and count function.

It would be great help if you can guide on how to modify this formula to get the desired result every day.

Looking forward for the kind replies.

Best Regards.
 

Attachments

  • Ask 1.png
    Ask 1.png
    21.6 KB · Views: 17

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Respected Experts,

My query is that i am going to use Offset function and i want to subtract the last two values,
Since i have to add a column daily to right so i am using offset and count function.

It would be great help if you can guide on how to modify this formula to get the desired result every day.

Looking forward for the kind replies.

Best Regards.

This is the issue that i am getting the unwanted result using the above formula =SUM((OFFSET(C6,0,COUNTA(D6:AB6),1,-2)))
 

Attachments

  • Ask 0.png
    Ask 0.png
    17.8 KB · Views: 16
Upvote 0
How about
Excel Formula:
=LOOKUP(2,1/(D6:O6<>""),D6:O6-C6:N6)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,580
Members
449,089
Latest member
Motoracer88

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