ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   One Cell (J3) Answer Is Based On Text In Another Cell (I3)... (https://www.excelbanter.com/excel-worksheet-functions/245815-one-cell-j3-answer-based-text-another-cell-i3.html)

JonGall

One Cell (J3) Answer Is Based On Text In Another Cell (I3)...
 
Here's what I need to do:
If cell I3 has the text "NO", then cell J3 will be equal to cell E3
(basically J3 will have the same number as E3).

But If cell I3 has the text "YES", then cell J3 will be E3*L3.

What function will complete the above?

Thanks,

JG

kassie

One Cell (J3) Answer Is Based On Text In Another Cell (I3)...
 
=IF(I3="","",IF(I3="NO",E3,IF(I3="YES",E3*L3,"")))

--
HTH

Kassie

Replace xxx with hotmail


"JonGall" wrote:

Here's what I need to do:
If cell I3 has the text "NO", then cell J3 will be equal to cell E3
(basically J3 will have the same number as E3).

But If cell I3 has the text "YES", then cell J3 will be E3*L3.

What function will complete the above?

Thanks,

JG


Iswar

One Cell (J3) Answer Is Based On Text In Another Cell (I3)...
 


"JonGall" wrote:

Here's what I need to do:
If cell I3 has the text "NO", then cell J3 will be equal to cell E3
(basically J3 will have the same number as E3).

But If cell I3 has the text "YES", then cell J3 will be E3*L3.

What function will complete the above?

Thanks,

JG


Use the If function if the cell IB contain only 'NO' and 'YES' as shown below.
=IF(I3="NO",E3,(E3*L3))

You need nested function if other data is in I3



Bob Phillips[_3_]

One Cell (J3) Answer Is Based On Text In Another Cell (I3)...
 
=IF(I3="NO",E3,IF(I3="YES",E3*L3,""))

--
__________________________________
HTH

Bob

"JonGall" wrote in message
...
Here's what I need to do:
If cell I3 has the text "NO", then cell J3 will be equal to cell E3
(basically J3 will have the same number as E3).

But If cell I3 has the text "YES", then cell J3 will be E3*L3.

What function will complete the above?

Thanks,

JG




JonGall

One Cell (J3) Answer Is Based On Text In Another Cell (I3)...
 
Simply Amazing. That formula worked perfectly. Thanks a bunch.

JG


"Kassie" wrote:

=IF(I3="","",IF(I3="NO",E3,IF(I3="YES",E3*L3,"")))

--
HTH

Kassie

Replace xxx with hotmail


"JonGall" wrote:

Here's what I need to do:
If cell I3 has the text "NO", then cell J3 will be equal to cell E3
(basically J3 will have the same number as E3).

But If cell I3 has the text "YES", then cell J3 will be E3*L3.

What function will complete the above?

Thanks,

JG


David Biddulph[_2_]

One Cell (J3) Answer Is Based On Text In Another Cell (I3)...
 
Do you need the first test, Kassie?
Presumably
=IF(I3="","",IF(I3="NO",E3,IF(I3="YES",E3*L3,"")))
gives the same result as
=IF(I3="NO",E3,IF(I3="YES",E3*L3,"")) ?
--
David Biddulph

Kassie wrote:
=IF(I3="","",IF(I3="NO",E3,IF(I3="YES",E3*L3,"")))


Here's what I need to do:
If cell I3 has the text "NO", then cell J3 will be equal to cell E3
(basically J3 will have the same number as E3).

But If cell I3 has the text "YES", then cell J3 will be E3*L3.

What function will complete the above?

Thanks,

JG





All times are GMT +1. The time now is 12:04 PM.

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