How to change a formulas result into a value once it's calculated.

JACOBB9900

New Member
Joined
Apr 8, 2019
Messages
38
Hello,

Can someone help me with a macro that would replace the below formula's result as a value. This formula pulls the "arrival date" of our jobs that are in route to our facility from another worksheet but once that job arrives it is removed from that worksheet along with the arrival date. If I don't manually copy and paste as a value I will have to search for the arrival date another way.


=IFNA(IF(VLOOKUP(IGT!$G86,'O:\Tiffany\JOB INFO\[2021 Backlog Tracker.xlsx]IGT Production'!$C:$L,10,FALSE)=0,VLOOKUP(IGT!$C86,'O:\Tiffany\JOB INFO\[2021 Backlog Tracker.xlsx]IGT Production'!$B:$L,11,FALSE),VLOOKUP(IGT!$G86,'O:\Tiffany\JOB INFO\[2021 Backlog Tracker.xlsx]IGT Production'!$C:$L,10,FALSE)),"")

Please let me know if you need any more information from me.

Thank you.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
59,500
Office Version
  1. 365
Platform
  1. Windows
This can be done via VBA, but we need to know the following:
1. What range are these formulas that you want to change to hard-coded values located in?
2. What should "trigger" this code to run, or will you be running the code manually (i.e. running the Macro, clicking a button, using a keyboard shortcut)?
 

Forum statistics

Threads
1,144,388
Messages
5,724,069
Members
422,533
Latest member
garganod1

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
Top