I have two Excel problems, which are similar, so I've included them both in one post. I hope someone can help.
=====
Problem 1
=====
I have two sheets - Sheet A and Sheet B. In each sheet, there is a cell where a frequency can be entered (weekly, 2-weekly etc), and each cell contains a dropdown which refers to a list. When a frequency is chosen on Sheet A, I want the same frequency to auto-populate in Sheet B. So I tried using this formula in the cell in Sheet B:
=IF(SHEET A!C4="","",SHEET A!C4)
...or I suppose I could just use:
=(SHEET A!C4)
Anyway, it wouldn't let me enter the formula, because of the data validation only allowing "weekly", "2-weekly" etc.
So I tried creating the formula in another cell and referring to that cell instead:
=IF(SHEET A!C4="",C4="",C4=SHEET A!C4)
But using this formula doesn't auto-populate Sheet B C4 for me, it just returns "TRUE" or "FALSE" in the cell where this formula is entered.
Is there any way I can get this to work, without removing the Data Validation from the cell (which I need to keep in place)?
=====
Problem 2
=====
I have two cells which I want to be populated automatically in SHEET A, using figures from SHEET B. One is a currency amount, and the other is a frequency ("weekly", "2-weekly" etc). So I use these formulas:
=IF('SHEET B'!D22=0,"",TEXT('SHEET B'!D22,"£0.00")))
=IF('SHEET B'!D22=0,"","monthly"))
Formula #1 does work, but Formula #2 doesn't (I get the same problem as with Problem 1, where it won't let me enter the formula, because of the data validation). And it doesn't look great with only one formula working, because the cells are then only half-populated.
So I tried the same alternative method as I tried with Problem 1, placing the formulas in alternative cells:
=IF('SHEET B'!D22=0,B20="",B20=TEXT('SHEET B'!D22,"£0.00")))
=IF('SHEET B'!D22=0,C20="",C20="monthly"))
But again these just produce "TRUE" or "FALSE" in the formula cells, and nothing in the reference cells.
=====
So my problems seem to be:
1 - I can't enter formulas in data validated-cells, even if the results of the formula are within the parameters of the data validation list (i.e. nothing at all, or something from the list)
2 - I can't auto-populate a referenced cell by placing a formula in another cell somewhere else
If I had a choice, I would actually prefer to have the formulas in other cells, because sometimes figures will be entered directly into the other cells, so it would make things look better if there were no formulas in the "main" cells".
Bookmarks