Make cell equal to contents of another cell

icissel1234

New Member
Joined
Jan 8, 2014
Messages
22
This question is making me think I've gone crazy, seems simple but can not figure it out:

If in cell a2 of sheet 1 I have some formula that returns a number by searching one database and if the value isnt there it searches sheet 2 'missing prehospital...' so cell a2 in 'missing...' has a validation list where i choose a text string and a vlookup returns the associated value but this only has to occur if the value was not available in the database

Formula in sheet 1 a2

=IF(OR(ISERROR(INDEX(MATCHAGEUNIT,MATCH(A2,MATCHCC,FALSE))),INDEX(MATCHAGEUNIT,MATCH(A2,MATCHCC,FALSE))=""),VLOOKUP('Missing Pre Hospital Data'!D2,AGEUNITSCODE,2,FALSE),INDEX(MATCHAGEUNIT,MATCH(A2,MATCHCC,FALSE)))&""

I would like all of the cells in the 'missing...' sheet to populate with the text string that corresponds with whatever value is in the same cell in sheet 1, and then if it does not exist in the database it will remain empty in 'missing...' until i choose a selection from the drop down

obviously this creates a circular reference if i set a2 in 'missing' =VLOOKUP('SHEET 1'!$A2,AGEUNITSCODE,2,FALSE)

is there any way around this?
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,215,483
Messages
6,125,063
Members
449,206
Latest member
Healthydogs

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