Vlookup help

Motowisch

New Member
Joined
Oct 14, 2022
Messages
18
Office Version
  1. 365
Platform
  1. Windows
I would like to get some help writing a VBA code that will pull the color of the cell next to a date and fill a cell in another spreadsheet with that color.

I have a vlookup that searches these dates and pulls the value from the cell, but don't know how to write it to pull color of adjacent cell. See it below.
=IFERROR(VLOOKUP(D2,'[MO Project tracker.xlsx]Alliance of SWMO PH2-3'!$C$12:$T$27,2,FALSE),0)
This formula picks the cell to the right of the date and pulls the dollar value from there. I would like to pull the color of the cell to the left and put it somewhere.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I found this LookupKeepColor, but can't get it to work either.
 
Upvote 0
=LookupKeepColor(D2,'[MO Project tracker.xlsx]Alliance of SWMO PH2-3'!$C$12:$T$27,1)
 
Upvote 0

Forum statistics

Threads
1,215,579
Messages
6,125,646
Members
449,245
Latest member
PatrickL

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