Automatically add text to cell if blank

SaraWitch

Active Member
Joined
Sep 29, 2015
Messages
378
Office Version
  1. 365
Platform
  1. Windows
Hello peeps,

I would like to automatically add the text "Target met" to a cell if it is blank (C1) and if a previous cell contains data (A1).

I have tried several ways, but nothing is working (I am usually ending up with a circular reference, even with a helper column because C1 is not technically blank as it contains the formula to return the text!).

Latest I've tried:

In the helper column (D):
Excel Formula:
=IF(AND(A1<>"", C1=""), "Target met", C1)

In the column I want the autotext if blank (C):
Excel Formula:
=IF(D1="Target met", "Target met", "")

Any suggestions? :)
 
Correction!
Excel Formula:
=IF(A1<>"",IF(B1>=25,"Target met",""))
 
Upvote 0

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Update! To remove FALSE results:
Excel Formula:
=IF(A1<>"",IF(B1<=25,"Target met",""),"")
 
Upvote 0
Solution

Forum statistics

Threads
1,224,879
Messages
6,181,531
Members
453,054
Latest member
ezzat

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