#1   Report Post  
Junior Member
 
Posts: 6
Default Project If Function

Hi there,

please I need a help. SELLING PRICE (H3) is equal to = IF THE (B3 = L1 ENTER (M1), or if B3 = (L2) ENTER (M2), IF (B3) does not contain (L1 or L2) THEN (E3) multiplied by (G3) PLUS H2)

thanks
Attached Images
File Type: pdf TASK.pdf (6.5 KB, 91 views)
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by sarajmen View Post
Hi there,

please I need a help. SELLING PRICE (H3) is equal to = IF THE (B3 = L1 ENTER (M1), or if B3 = (L2) ENTER (M2), IF (B3) does not contain (L1 or L2) THEN (E3) multiplied by (G3) PLUS H2)

thanks
Try this in cell H3 and copy down.

=IF(B3=$L$1,$M$1,IF(B3=$L$2,$M$2,(E3*G3)+$H$2))

Is that what you mean?

Last edited by Spencer101 : September 24th 12 at 09:47 AM Reason: EDIT: Amended typo in formula.
  #3   Report Post  
Junior Member
 
Posts: 6
Default

Quote:
Originally Posted by Spencer101 View Post
Try this in cell H3 and copy down.

=IF(B3=$L$1,$M$1,IF(B3=$L$2,$M$2,(E3*G3)+$H$2))

Is that what you mean?
Thanks for your help, I try to use your formula but something is wrong with formula and wont work
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Project If Function

On Mon, 24 Sep 2012 19:48:04 +0000, sarajmen wrote:

Spencer101;1605796 Wrote:
Try this in cell H3 and copy down.

=IF(B3=$L$1,$M$1,IF(B3=$L$2,$M$2,(E3*G3)+$H$2))

Is that what you mean?


Thanks for your help, I try to use your formula but something is wrong
with formula and wont work


+-------------------------------------------------------------------+
+-------------------------------------------------------------------+


Can you define what you mean by "won't work"?

Do you mean it gives the wrong values? If so, please provide the values
that are inputs (B3, L1, M1, L2, M2, E3, G3 and H2) and the expected and
actual outputs (H3).

Bruce
  #5   Report Post  
Junior Member
 
Posts: 6
Default

Quote:
Originally Posted by Bruce Bowler View Post
On Mon, 24 Sep 2012 19:48:04 +0000, sarajmen wrote:

Spencer101;1605796 Wrote:
Try this in cell H3 and copy down.

=IF(B3=$L$1,$M$1,IF(B3=$L$2,$M$2,(E3*G3)+$H$2))

Is that what you mean?


Thanks for your help, I try to use your formula but something is wrong
with formula and wont work


+-------------------------------------------------------------------+
+-------------------------------------------------------------------+


Can you define what you mean by "won't work"?

Do you mean it gives the wrong values? If so, please provide the values
that are inputs (B3, L1, M1, L2, M2, E3, G3 and H2) and the expected and
actual outputs (H3).

Bruce
I get a msg
The Formula You Typed Contains An Error , and wont acept the formula


  #6   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by sarajmen View Post
I get a msg
The Formula You Typed Contains An Error , and wont acept the formula
If you can post an example workbook that would be very helpful.
  #7   Report Post  
Junior Member
 
Posts: 6
Default

Quote:
Originally Posted by Spencer101 View Post
If you can post an example workbook that would be very helpful.
Hello friend I am unable to upload the excel file because the page is not allowed, I did upload the Word file. Thanks for your help and my email is thanks
  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 829
Default Project If Function

"sarajmen" wrote:
Spencer101;1605796 Wrote:-
Try this in cell H3 and copy down.
=IF(B3=$L$1,$M$1,IF(B3=$L$2,$M$2,(E3*G3)+$H$2))

[....]
I get a msg
The Formula You Typed Contains An Error


Perhaps you should use semicolons instead of commas for separators. Try:

=IF(B3=$L$1;$M$1;IF(B3=$L$2;$M$2;E3*G3+$H$2))

And since your English description is ambiguous, try the following
alternative if the formula above gives the wrong numerical result:

=IF(B3=$L$1;$M$1;IF(B3=$L$2;$M$2;E3*(G3+$H$2)))

  #9   Report Post  
Junior Member
 
Posts: 6
Default

Quote:
Originally Posted by joeu2004[_2_] View Post
"sarajmen" wrote:
Spencer101;1605796 Wrote:-
Try this in cell H3 and copy down.
=IF(B3=$L$1,$M$1,IF(B3=$L$2,$M$2,(E3*G3)+$H$2))

[....]
I get a msg
The Formula You Typed Contains An Error


Perhaps you should use semicolons instead of commas for separators. Try:

=IF(B3=$L$1;$M$1;IF(B3=$L$2;$M$2;E3*G3+$H$2))

And since your English description is ambiguous, try the following
alternative if the formula above gives the wrong numerical result:

=IF(B3=$L$1;$M$1;IF(B3=$L$2;$M$2;E3*(G3+$H$2)))

thanks buddy formula works perfectly
  #10   Report Post  
Junior Member
 
Posts: 6
Default

Quote:
Originally Posted by sarajmen View Post
thanks buddy formula works perfectly
Hello,
The following question was referred to the same formula
= IF (B21 = $ L $ 17, $ M $ 17, IF (B21 = $ L $ 18, $ M $ 18, E21 * (G21 * (1 + $ H $ 18))))
Can we define if B21 = any cell in column L and if for example L18 ... M18 or L223 .... Enter M223
thanks
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
Can't find project or library (Mid Function) John Viall[_2_] Excel Programming 4 July 21st 07 09:44 PM
function to count project overlap jay d Excel Worksheet Functions 0 August 4th 06 01:42 PM
call a excel function from a vb project Alex281 Excel Programming 2 March 29th 06 05:22 AM
Calling a function in another project from within a cell formula Ellis Horowitz Excel Programming 1 June 25th 04 03:08 PM
Excel lost function pointer in BIG project ? [email protected] Excel Programming 0 June 10th 04 04:47 PM


All times are GMT +1. The time now is 03:06 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"