Condition format

alliswell

Board Regular
Joined
Mar 16, 2020
Messages
214
Office Version
  1. 2007
Platform
  1. Windows
  2. Mobile
Hi everybody on MrExcel. Pls chk attachment.

Thanks & Regards to everyone on mrexcel
 

Attachments

  • Screenshot_20250207-013055.png
    Screenshot_20250207-013055.png
    112.4 KB · Views: 9
you have made it be difficult having to read a spreadsheet with text for what you need

confused you want to put in D2 a text - but based on what is in D2 -

really dont follow sorry
only VBA is going to take something you type into the cell , than change its contents

IE if D2 = C2 , then change the conmtents of D2 to PAID

so if you type in 15 into D2 - that is equal to C2 which has 15
so change the 15 typed in D2 to say PAID

Note: Images are difficult to see , and also requires that I input all the data myself, which means I may make an error, which is very time consuming, and from my point of view less likely to get a response, if a complicated spreadsheet. Plus we cannot see any of the formulas used.

Therefore -

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

This will possibly enable a quicker and more accurate solution for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
 
Upvote 0
you have made it be difficult having to read a spreadsheet with text for what you need

confused you want to put in D2 a text - but based on what is in D2 -

really dont follow sorry
only VBA is going to take something you type into the cell , than change its contents

IE if D2 = C2 , then change the conmtents of D2 to PAID

so if you type in 15 into D2 - that is equal to C2 which has 15
so change the 15 typed in D2 to say PAID

Note: Images are difficult to see , and also requires that I input all the data myself, which means I may make an error, which is very time consuming, and from my point of view less likely to get a response, if a complicated spreadsheet. Plus we cannot see any of the formulas used.

Therefore -

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

This will possibly enable a quicker and more accurate solution for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
 

Attachments

  • Screenshot_20250207-100232.png
    Screenshot_20250207-100232.png
    105.1 KB · Views: 5
Upvote 0
sorry i cant help as you NEED VBA to do this - and i do not provide VBA on forums
 
Upvote 0
Conditional Formatting can only affecting FORMATTING on cells, not the values that cells return.
To affect the values, you either need to use formulas, or VBA.

But cells can only contain hard-coded values OR formulas in them, never both at the same time!
Since you want to look at the current value in cell D2, and possibly change that value right in that same cell, you WILL need VBA, no question about it.

Are you open to a VBA solution?
If not, you will not be able to do what you want (at least not in the way you have proposed - you would not be able to update column D and would need to use another column in addition to it).
 
Upvote 0
Conditional Formatting can only affecting FORMATTING on cells, not the values that cells return.
To affect the values, you either need to use formulas, or VBA.

But cells can only contain hard-coded values OR formulas in them, never both at the same time!
Since you want to look at the current value in cell D2, and possibly change that value right in that same cell, you WILL need VBA, no question about it.

Are you open to a VBA solution?
If not, you will not be able to do what you want (at least not in the way you have proposed - you would not be able to update column D and would need to use another column in addition to it).
Ok. Help with vba please
 
Upvote 0
How/when do you want this VBA to run?
It can run automatically upon manually updating a certain cell (i.e. C2 or D2), or you can run the Macro manually.

So I guess it depends if you are running it on pre-existing data, or want it to run "real-time" as you make manual data updates.
Also, if it all populated cells in column D you want to do this to, or only cell D2?
 
Upvote 0

Forum statistics

Threads
1,226,841
Messages
6,193,284
Members
453,788
Latest member
drcharle

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