Help required: Have the index/match function pull value and formatting

mshah91

New Member
Joined
Jun 3, 2015
Messages
1
Hi!

I'm struggling with the following problem and would really appreciate some help:

1. I have 2 sheets in my workbook "Key" and "Database". Database contains a 'Index-Match' table, whose source is Key. The formula for a cell in Database looks something like this:

=INDEX('Key'!$B$13:$P$104, MATCH($B18, 'Key'!$B$13:$B$120,0), MATCH(I$17, 'Key'!$B$13:$O$13,0)))

The issue is that the column in Key that Database is pulling values from has numbers, %, dates etc., all mixed. So I am looking to have Index-Match pull the value as well as formatting (currently not doing the latter).

E.g., if the matched value in Key is 30%, the corresponding cell in Database is pulling 0.3.

I understand that there may be a way to do this with VBA, but I don't know how to unfortunately.

Any help is much appreciated! Thank you!!
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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