Feb 18 2018 12:53 PM
Hi Everyone,
I am trying to solve a problem
Lets say that cells in Column A contain either "loss" "single target" or "double target"
In column B I want to enter data manually if the corresponding cell in column A is either "single target" or "double target". However if the cell in Column A is "Loss", I want to use a formula.
How enter this in excel?
Feb 18 2018 01:25 PM
Hello,
well, you could use a formula and overwrite it manually, something like
=if(A1="loss",YourFormula,"")
Copy down. Now only the cells where column A has "loss" will show the result of your formula, and you can manually type over the formula in other cells.
Does that work for you?
Feb 18 2018 02:27 PM
Feb 18 2018 05:37 PM
Michael,
either you use VBA - which I can't help you with - or you use two helper columns: one with the formula and the second for the manual input. In the final column you put them together:
=IF(Column_with_Input)<>"",Column_with_Input,Column_with_formula)
Feb 19 2018 11:31 AM
@Michael Kwakye I agree with @Detlef Lewin. Some things will not be possible in one go.
If you had mentioned in your question that you want to paste values into the column, then my reply would have been different. It is always good to explain the whole picture.
I suggest you paste the values into a helper column, then use a formula to pull the helper column value if it is not blank, else do the calculation.