ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   I need help with a formula (https://www.excelbanter.com/excel-worksheet-functions/155567-i-need-help-formula.html)

Frances C

I need help with a formula
 
I have create a formula that calculates everytime I mark x on m5 or q5 should
calculate the following: =IF(M5="x",(W47*140%),"") and I obtain good
results, but when I change my formula to read the following:
=IF(M5="x",(W47*140%),""),if=(Q5="x",(W47*140%),"" ) I encounter a
#value(error)
Can you help me find my error

Greg Wilson

I need help with a formula
 
Try:

=IF(M5="x",W47*140%,IF(Q5="x",W47*140%,""))

Greg

"Frances C" wrote:

I have create a formula that calculates everytime I mark x on m5 or q5 should
calculate the following: =IF(M5="x",(W47*140%),"") and I obtain good
results, but when I change my formula to read the following:
=IF(M5="x",(W47*140%),""),if=(Q5="x",(W47*140%),"" ) I encounter a
#value(error)
Can you help me find my error


Don Guillett

I need help with a formula
 
If? you want OR then try
=IF(or(M5="x",q5="x"),W47*140%,"")

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Frances C" <Frances
wrote in message
...
I have create a formula that calculates everytime I mark x on m5 or q5
should
calculate the following: =IF(M5="x",(W47*140%),"") and I obtain good
results, but when I change my formula to read the following:
=IF(M5="x",(W47*140%),""),if=(Q5="x",(W47*140%),"" ) I encounter a
#value(error)
Can you help me find my error




All times are GMT +1. The time now is 10:04 AM.

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