Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
AKlein
 
Posts: n/a
Default IF Function returns result of formula

I'm trying to use the IF function to return either a 0 or the result of a
forumla. See example below.

col. A Col. B col. c (Formula)
col. C result
8 $18 =IF (A1<20,"0", A120,"result of B1*24")
0
22 $84 =IF (A2<20,"0", A220,"result of B2*24")
$2,016

How can I write the formula so that result in Col C. is can return the
result of a formula?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Niek Otten
 
Posts: n/a
Default IF Function returns result of formula

=IF(A1<20,0,B1*24)

Copy down

--
Kind regards,

Niek Otten

"AKlein" wrote in message
...
I'm trying to use the IF function to return either a 0 or the result of a
forumla. See example below.

col. A Col. B col. c (Formula)
col. C result
8 $18 =IF (A1<20,"0", A120,"result of B1*24")
0
22 $84 =IF (A2<20,"0", A220,"result of B2*24")
$2,016

How can I write the formula so that result in Col C. is can return the
result of a formula?



  #3   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default IF Function returns result of formula

I think you need the formula

=IF(A1<20,0,IF(A120,B1*24,FALSE))


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"AKlein" wrote in message
...
I'm trying to use the IF function to return either a 0 or the
result of a
forumla. See example below.

col. A Col. B col. c (Formula)
col. C result
8 $18 =IF (A1<20,"0", A120,"result of B1*24")
0
22 $84 =IF (A2<20,"0", A220,"result of B2*24")
$2,016

How can I write the formula so that result in Col C. is can
return the
result of a formula?



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


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Monty Excel Worksheet Functions 2 January 30th 06 01:37 PM
Valid formula result in Function Box but Cell displays #VALUE bdyer30 Excel Discussion (Misc queries) 0 January 24th 06 01:08 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Amount or Numbers in Words ron New Users to Excel 6 December 24th 04 07:32 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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

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"