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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
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,223,952
Messages
6,175,596
Members
452,657
Latest member
giadungthienduyen

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