Modification to an Existing Formula

meppwc

Well-known Member
Joined
May 16, 2003
Messages
626
Office Version
  1. 365
Platform
  1. Windows
Can someone assist me with modifying the formula below.
=IFERROR(XLOOKUP(P18,'OBIEE TABLE'!B:B,'OBIEE TABLE'!G:G),"")
Instead of the double quotation marks near the end, I want to replace that existing logic with the following logic.
If the XLOOKUP fails, then leave the current value within the cell.
The current value in cell O18 "Color LaserJet CP2025n"
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Yes, that is what makes it so complicated for me to figure out. It like the formula need to look at and remember the current value of that cell, BEFORE, taking action. I am just not sure if how to accomplish this.
 
Upvote 0
=IFERROR(XLOOKUP(P18,'OBIEE TABLE'!B:B,'OBIEE TABLE'!G:G),O18)
 
Upvote 0
You cannot do that as it will create a circular reference & even if you enable iterative calculation, it still won't work as xl cannot "remember" what was in the cell.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,830
Messages
6,181,227
Members
453,025
Latest member
Hannah_Pham93

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