ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Stuck - need help on an if/conditional formula (https://www.excelbanter.com/excel-discussion-misc-queries/65315-stuck-need-help-if-conditional-formula.html)

Amy

Stuck - need help on an if/conditional formula
 
Hello,
I'm trying to write in a formula whereby i'm referencing 2 cells. A1:
Containing a pre-entered number and A2 containing a Y or N.

If A2 = Y I need the formula to be A1/60 THEN the number displayed to be the
answer to that formula.
If A2 =N then I need the cell to remain blank.

Am messing it up as the best I can get is the cell to display the text A1/60
rather than the answer to the formula. Help appreciated!
Amy


JE McGimpsey

Stuck - need help on an if/conditional formula
 
One way:

=IF(A2="Y",A1/60,"")

In article ,
Amy wrote:

Hello,
I'm trying to write in a formula whereby i'm referencing 2 cells. A1:
Containing a pre-entered number and A2 containing a Y or N.

If A2 = Y I need the formula to be A1/60 THEN the number displayed to be the
answer to that formula.
If A2 =N then I need the cell to remain blank.

Am messing it up as the best I can get is the cell to display the text A1/60
rather than the answer to the formula. Help appreciated!
Amy



All times are GMT +1. The time now is 06:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com