Excel - IF Function Problem - Expert Solution

Question description:
This user has given permission to use the problem statement for this blog.

Need If formula to fill cells if another cell is Y or N =IF(G4="N","N/A") If condition is not met, want to leave existing data already in cell or manually enter data
Solved by E. C. in 60 mins
This is the chat thread from the real Excelchat help session. It contains no private user information.
Excelchat Expert 06/09/2018 - 09:10
Welcome, Thanks for choosing Got It Pro-Excel.
User 06/09/2018 - 09:12
Is anyone there?
Excelchat Expert 06/09/2018 - 09:13
Yeah
Excelchat Expert 06/09/2018 - 09:13
Do you have sample data that we can use?
User 06/09/2018 - 09:13
can I copy and paste?
Excelchat Expert 06/09/2018 - 09:14
Yeah
Excelchat Expert 06/09/2018 - 09:16
Are you done?
Excelchat Expert 06/09/2018 - 09:17
If the condition is met, which value will you wish to return?
Excelchat Expert 06/09/2018 - 09:17
And
User 06/09/2018 - 09:18
N/A
Excelchat Expert 06/09/2018 - 09:18
If the NOT condition is met, what value will you wish to return?
User 06/09/2018 - 09:18
If the condition is not met, I want to leave the data that is already existing
Excelchat Expert 06/09/2018 - 09:19
Okay.
User 06/09/2018 - 09:19
Whatever value is already there
Excelchat Expert 06/09/2018 - 09:19
Let us use an example of the value in cell A1 to your right.
User 06/09/2018 - 09:19
Online it said I have to do a macro or via code
Excelchat Expert 06/09/2018 - 09:21
Kindly allow me illustrate it online.
Excelchat Expert 06/09/2018 - 09:22
Let us use an example of the data which you have input.
Excelchat Expert 06/09/2018 - 09:22
Is it okay?
Excelchat Expert 06/09/2018 - 09:24
Kindly respond to me.
User 06/09/2018 - 09:24
Hi, I typed and example. Can you see?
Excelchat Expert 06/09/2018 - 09:25
Yeaa
Excelchat Expert 06/09/2018 - 09:25
*Yeah
User 06/09/2018 - 09:26
I would like to apply the formula in D3 to all rows; however, I want to leave any existing data
User 06/09/2018 - 09:26
if the condition is not met
Excelchat Expert 06/09/2018 - 09:26
Okay.
Excelchat Expert 06/09/2018 - 09:26
Just a moment please...
User 06/09/2018 - 09:29
I meant I would like to apply the formula in D2 to all subsequent cells (underneath) but if the condition is not met, I would like to leave existing data or type in data manually. Online they said I need a macro or vba
Excelchat Expert 06/09/2018 - 09:30
Okay.
Excelchat Expert 06/09/2018 - 09:30
Figuring this out....
Excelchat Expert 06/09/2018 - 09:34
Thank you for your patience.
Excelchat Expert 06/09/2018 - 09:35
It is true if you wish to override the data already in the cells, you will need a macro or vba.
Excelchat Expert 06/09/2018 - 09:36
Have you considered creating another column?
User 06/09/2018 - 09:37
Will be counterproductive on our end. What about creating a circular formula where id the condition is not met it will just equal the cell contents?
User 06/09/2018 - 09:37
=IF(B2="N","N/A",D2)
User 06/09/2018 - 09:38
I get an error message though
Excelchat Expert 06/09/2018 - 09:38
You get an error message with this:
Excelchat Expert 06/09/2018 - 09:38
=IF(B2="N","N/A",D2)
Excelchat Expert 06/09/2018 - 09:38
?
User 06/09/2018 - 09:40
it says its a circular formula
Excelchat Expert 06/09/2018 - 09:40
It is true it will have circular reference since it is referring to the same cell.
User 06/09/2018 - 09:40
can you override it?
User 06/09/2018 - 09:41
or will it potentially create errors?
Excelchat Expert 06/09/2018 - 09:41
It may not return correct results.
Excelchat Expert 06/09/2018 - 09:42
Will you mind, if you explain a little bit on what you actually wish to accomplish with the formula.
Excelchat Expert 06/09/2018 - 09:42
I may have a better redirection.
Excelchat Expert 06/09/2018 - 09:42
Or approach
User 06/09/2018 - 09:44
I just want it to automatically fill in N/A into cells D, E, etc. if the answer to Column B is N
User 06/09/2018 - 09:45
But, if the answer is yes, there is already data there that I don't want to disappear
User 06/09/2018 - 09:45
or I want to enter data in manually
Excelchat Expert 06/09/2018 - 09:47
What if we highlight the data which meets the criteria, and then you will enter it manually?
Excelchat Expert 06/09/2018 - 09:47
Will that help?
User 06/09/2018 - 09:48
We already have hundreds of rows of data. That will not help
User 06/09/2018 - 09:49
what about a filter?
User 06/09/2018 - 09:49
I read something about that online but not sure if it would work
Excelchat Expert 06/09/2018 - 09:49
Will you mind if you send the actual file, so that I see how it is structured?
Excelchat Expert 06/09/2018 - 09:51
Halo, are you there?
User 06/09/2018 - 09:53
[Uploaded an Excel file]
Excelchat Expert 06/09/2018 - 09:54
I have it.
User 06/09/2018 - 09:55
Columns E and F need to determine self-populating cells for S through AA
Excelchat Expert 06/09/2018 - 09:56
Okay.
User 06/09/2018 - 09:57
Column E for J to Q and F for S through AA
Excelchat Expert 06/09/2018 - 09:57
Okay.
User 06/09/2018 - 10:01
the data will be kept confidential right?
Excelchat Expert 06/09/2018 - 10:01
Yeah
Excelchat Expert 06/09/2018 - 10:02
Overriding data in a cell can't be accomplished by functions.
Excelchat Expert 06/09/2018 - 10:02
It is TRUE you will need VBA
User 06/09/2018 - 10:02
do you do VBA code?
Excelchat Expert 06/09/2018 - 10:03
Our system does not currently support VBA.
Excelchat Expert 06/09/2018 - 10:03
I see the number of columns are not many.
Excelchat Expert 06/09/2018 - 10:03
You can equally add hidden columns and it will be fine.
Excelchat Expert 06/09/2018 - 10:04
That will be another workaround.
User 06/09/2018 - 10:05
can you add the columns you are referring to and then send back to me so I can see?
Excelchat Expert 06/09/2018 - 10:05
Let me try to add one.
Excelchat Expert 06/09/2018 - 10:05
Since we have less than 4 minutes.
Excelchat Expert 06/09/2018 - 10:09
Added column
[Uploaded an Excel file]
Excelchat Expert 06/09/2018 - 10:09
Column T is added.
Excelchat Expert 06/09/2018 - 10:09
I hid column S
Excelchat Expert 06/09/2018 - 10:09
We have less than 30 seconds.
Excelchat Expert 06/09/2018 - 10:10
If you consider that option, you can send the question again
Excelchat Expert 06/09/2018 - 10:10
And I will help you solve it.
Excelchat Expert 06/09/2018 - 10:10
Thank you.

This is the output file from the real Excelchat help session:
This is an example of the expert help you can get. It contains no private user information.

Get instant expert help with Excel and Google Sheets

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Your privacy is guaranteed. Your session will not be used for blog unless you give us persmission.

Click here to get your free Excelchat help session

Subscribe to Excelchat.co
Trusted by people who work at
Amazon.com, Inc
Facebook, Inc
Accenture PLC
Siemens AG
Macy's
The Allstate Corporation
United Parcel Service
Dell Inc