Excel formatting - how to change a cell value based on another's

Godfrey_Daniel 1 Reputation point
2021-06-05T19:07:25.92+00:00

Greetings all,

I'm doing some personal finance tracking. When I download a .csv of my transactions, sometimes it categorizes things too broadly.

Example: I only use Redbubble to buy tee shirts, but it's categorized as "Hobbies". I need a conditional formatting rule to say:

"If 'Redbubble' appears in column B change the text value (in the same row) of column F to "Clothing".
102658-screen-shot-2021-06-05-at-15004-pm.png
Pic attached.

Thanks!

-GD

Microsoft 365 and Office Excel For business Windows
{count} votes

3 answers

Sort by: Most helpful
  1. Emi Zhang-MSFT 30,046 Reputation points Microsoft External Staff
    2021-06-07T08:12:30.7+00:00

    Hi @Godfrey_Daniel ,
    Do you only have one condition in Column F?
    If yes, you can enter the formula in Column F:

    =IF(B1="Redbubble","Clothing","")

    If my understanding is incorrect, please provide more information about your problem or you can upload a screenshot so that I can get more accurate solutions to this problem. I'm glad to help you.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Godfrey_Daniel 1 Reputation point
    2021-06-08T14:55:30.327+00:00

    Great. After I changed it to B84 it changed the cell to "clothing". But how do I write the formula so that if ANY cell in column B is "Redbubble" change to "Clothing"?103435-redbubble2.png

    0 comments No comments

  3. Godfrey_Daniel 1 Reputation point
    2021-06-08T23:23:21.187+00:00

    Actually, this might be easier. Is there a way to use a function that applies to the entire spreadsheet that does this?

    If any cell ="Hobbies" change it to "Clothing"

    -GD


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.