ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   formula help (https://www.excelbanter.com/excel-discussion-misc-queries/246083-formula-help.html)

James

formula help
 
=B49*1.5+J22

B49 is labour cost per hour, 1.5 is amount of hours, J22 is price per item,
however when J22 is left blank i am still getting result for B49*1.5.

i am using a similar formula;
=F5*D49+J5
=F49*2*E14+J14
but everything is ok in these cells, result is blank.

thanks everyone
James

Bob Phillips[_3_]

formula help
 
Well you would, as it is the same as saying =B49*1.5+0

What do you want, to multiply by the cost per item,

=B49*1.5*J22

or ignore if price per item is not set

=IF(J22="","",B49*1.5+J22)


--
__________________________________
HTH

Bob

"james" wrote in message
...
=B49*1.5+J22

B49 is labour cost per hour, 1.5 is amount of hours, J22 is price per
item,
however when J22 is left blank i am still getting result for B49*1.5.

i am using a similar formula;
=F5*D49+J5
=F49*2*E14+J14
but everything is ok in these cells, result is blank.

thanks everyone
James




James

formula help
 
i want to ignor if item not selected, but why is it working in the other
formuals?


"Bob Phillips" wrote:

Well you would, as it is the same as saying =B49*1.5+0

What do you want, to multiply by the cost per item,

=B49*1.5*J22

or ignore if price per item is not set

=IF(J22="","",B49*1.5+J22)


--
__________________________________
HTH

Bob

"james" wrote in message
...
=B49*1.5+J22

B49 is labour cost per hour, 1.5 is amount of hours, J22 is price per
item,
however when J22 is left blank i am still getting result for B49*1.5.

i am using a similar formula;
=F5*D49+J5
=F49*2*E14+J14
but everything is ok in these cells, result is blank.

thanks everyone
James



.


James

formula help
 
sorry bob that one not working either.


"Bob Phillips" wrote:

Well you would, as it is the same as saying =B49*1.5+0

What do you want, to multiply by the cost per item,

=B49*1.5*J22

or ignore if price per item is not set

=IF(J22="","",B49*1.5+J22)


--
__________________________________
HTH

Bob

"james" wrote in message
...
=B49*1.5+J22

B49 is labour cost per hour, 1.5 is amount of hours, J22 is price per
item,
however when J22 is left blank i am still getting result for B49*1.5.

i am using a similar formula;
=F5*D49+J5
=F49*2*E14+J14
but everything is ok in these cells, result is blank.

thanks everyone
James



.


David Biddulph[_2_]

formula help
 
"not working" isn't a very explicit problem description, James, particularly
when Bob asked which of two alternatives you wanted and you didn't answer
his question.

If you want help, it may be wise to say what formula you are using, which
data values, what result you expected, and what result you got.
--
David Biddulph

"james" wrote in message
...
sorry bob that one not working either.


"Bob Phillips" wrote:

Well you would, as it is the same as saying =B49*1.5+0

What do you want, to multiply by the cost per item,

=B49*1.5*J22

or ignore if price per item is not set

=IF(J22="","",B49*1.5+J22)


--
__________________________________
HTH

Bob

"james" wrote in message
...
=B49*1.5+J22

B49 is labour cost per hour, 1.5 is amount of hours, J22 is price per
item,
however when J22 is left blank i am still getting result for B49*1.5.

i am using a similar formula;
=F5*D49+J5
=F49*2*E14+J14
but everything is ok in these cells, result is blank.

thanks everyone
James



.




OLY

formula help
 
On Oct 21, 9:43*am, james wrote:
sorry bob that one not working either.



"Bob Phillips" wrote:
Well you would, as it is the same as saying =B49*1.5+0


What do you want, to multiply by the cost per item,


=B49*1.5*J22


or ignore if price per item is not set


=IF(J22="","",B49*1.5+J22)


--
__________________________________
HTH


Bob


"james" wrote in message
...
=B49*1.5+J22


B49 is labour cost per hour, 1.5 is amount of hours, J22 is price per
item,
however when J22 is left blank i am still getting result for B49*1.5.


i am using a similar formula;
=F5*D49+J5
=F49*2*E14+J14
but everything is ok in these cells, result is blank.


thanks everyone
James


.- Hide quoted text -


- Show quoted text -


I believe this would work: Just make sure you get the right number of
parentheses.

=IF(NOT(ISBLANK(J22)), (B49*1.5)+J22,"")

OLY


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

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