I'm think this is an "if this, then that forumula"

NMaxis

New Member
Joined
Jul 14, 2016
Messages
19
Basically I'm looking for a cell to fill in another cell if another cell is highlighted.

My issue is:
"If a cell in G column is highlighted then take the text from in cell J (of the same row) and copy it over to cell d"

Warranted column A and column G have a conditional formatting whereas if the text in column A is the same as column G then they are both highlighted.

Also: is there an issue on this site it seems to not take every 4th keystroke? Or is it just me?
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Also: is there an issue on this site it seems to not take every 4th keystroke? Or is it just me?
I think it is just you. It may be the browser or editor you are using.

Note that Excel formulas can only run off of values, they cannot look at the formatting of other cells (VBA can, Excel cannot).
However, if your cells are being highlighted via Conditional Formatting, you may be able to use the same rules that you used for Conditional Formatting in your formula.
If you need help with that, please provide your Conditional Formatting details.
 
Last edited:
Upvote 0
I think it is just you. It may be the browser or editor you are using.

Note that Excel formulas can only run off of values, they cannot look at the formatting of other cells (VBA can, Excel cannot).
However, if your cells are being highlighted via Conditional Formatting, you may be able to use the same rules that you used for Conditional Formatting in your formula.
If you need help with that, please provide your Conditional Formatting details.

Thank you for your response.

Basically my conditional formatting is set to duplicate values, wheres it turn cells in column A and column G red if there is text in either column that match text in the other.
 
Upvote 0
So, are you using a formula in Conditional Formatting to do that?
You should be able to incorporate that same logic into this other formula that you need.
If you need further help with that, please post the Conditional Formatting formula you are using.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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