#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default if Then

How would I program the following formula?

If A2=1 then F2=B2*12*.67
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default if Then

=(A2=1)*B2*8.04


"Jamesbfagan" wrote:

How would I program the following formula?

If A2=1 then F2=B2*12*.67

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default if Then

Hi,

Although longer, this might help you understand the logic necessary:

In F2

=IF(A2=1,B2*12*.67,"")

You didn't say what to do if there wasn't a 1 in A2?

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Jamesbfagan" wrote:

How would I program the following formula?

If A2=1 then F2=B2*12*.67

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"