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? :)
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Update! To remove FALSE results:
Excel Formula:
=IF(A1<>"",IF(B1<=25,"Target met",""),"")
 
Upvote 0
Solution

Forum statistics

Threads
1,223,954
Messages
6,175,603
Members
452,660
Latest member
Zatman

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