Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

returning value based cell

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Returning a value based on a cell colour

Returning a value based on a cell colour

ResolvedVersion 2016

Anna has attended:
Excel Advanced course

Returning a value based on a cell colour

if my cell is colour coded orange, can I return a 1?

RE: returning a value based on a cell colour


Hi Anna.

Thank you for the forum question.

The answer is yes and no.

If you can write VBA codes you can test the fill colour and return a value based on the colour code. If you do not have VBA knowledge unfortunately it is not possible.




ind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Fri 5 Apr 2019: Automatically marked as resolved.

Excel tip:

Edit and format multiple worksheets in one operation

To select two or more non-adjacent worksheets, click on the tab of each worksheet, while holding down the [CTRL] key.
To select two or more adjacent worksheets, click on the tab of the first worksheet and then on the tab of the last worksheet, while holding down the [SHIFT] key.
Enter or modify your data and apply the necessary formatting options to the sheet that's displayed

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.