I am trying to record a Excel macro that will be conducting this action:
I have 2 worksheets. 'Worksheet
' and 'Report 1'
. The scenario I am seeking for is,
"If Report 1 AB column is blank, Worksheet F column will use the data in >Report 1 U column. If it has text, Worksheet F column will use data in Report 1 > AC column."
I have tried out different formulas. At first I used the whole column range as formula, putting blank as 0 and also trying " ". But the result I have is 0. I also tried to remove ranges and use one cell but it still does not work. So what is wrong with my formula?
=IF('Report 1'!AB5=" ", Worksheet!F6='Report 1'!AC5, Worksheet!F6='Report 1'!U5)
In the first place, is my formula even correctly structured if I want to achieve the scenario above?