Vlookup table Formula and IF formula help

Minty5490

New Member
Joined
Jul 13, 2016
Messages
14
Hi,

I am using a vlookup formula. Which works well to pull data from my other sheet. But I want it to just pull the colour only from the cell

Example: Data (jan) from cell a1 is a Blue colour, and has a number example 5. Vlookup sheet (e4), overwrites from the information of the data sheet with the number, but not the colour? I only want the colour and keep the information already in the cell on the vlookup sheet e4.

Formula I am using: =VLOOKUP($E$4,Jan,3,1)

Can anyone help, not sure if I need to put a If or AND, but how?

Thanks
 
What you are trying to do can not be done with formulas or conditional formatting.
---
For its operation, only one macro is needed in the "Calendar Year" sheet.
Remove the macro that you put.

Enter the macro of the sheet "Calendar Year" and in this line you have to put the range of the cells of March,
Code:
meses = Array("E8:I14", "K8:O14")       'add range for each month

eg.
Code:
meses = Array("E8:I14", "K8:O14", [COLOR=#ff0000]"Q8:U14"[/COLOR])       'add range for each month

And so you continue with the other months.
 
Upvote 0

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Also, you must put each month in each column

bfcf147edb89c942f49bae264da3856a.jpg
 
Upvote 0
Hi Dante,

I have look through again at you test. I have got it working and understand it now.

Many thanks for you help, it works fantastic. Sorry to be such a pain. :) Much appreciated. thanks
 
Upvote 0

Forum statistics

Threads
1,216,185
Messages
6,129,388
Members
449,506
Latest member
nomvula

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