ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   I want to compute this formula: =IF(Q48=Protected!C27:C35,+Q48,"". (https://www.excelbanter.com/excel-programming/307666-i-want-compute-formula-%3Dif-q48%3Dprotected-c27-c35-q48.html)

Help Me Rhonda TOA

I want to compute this formula: =IF(Q48=Protected!C27:C35,+Q48,"".
 
When I compute this function: =IF(Q48=Protected!C27,+Q48,"") -- I get
results, but if I insert a range rather than a reference to only one cell, I
get ### signs where my calculation should be.
If I try to compute: =IF(Q48=Protected!C27:C35,+Q48,"")

then I get the error symbol of ### rather than a computation. What am I
doing wrong.

Up all night on this!


Don Guillett[_4_]

I want to compute this formula: =IF(Q48=Protected!C27:C35,+Q48,"".
 
q48 is one number or data item and c27:c35 would consist of 8 numbers or
data. What do you want to test for?
BTW, leave out the + on +q48. You are in excel land now, not lotus.
maybe this is what you want???. If no match "", q48
=IF(ISNA(MATCH(q48,protected!c27:c35,0)),"",q48)

--
Don Guillett
SalesAid Software

"Help Me Rhonda TOA" <Help Me Rhonda
wrote in
message ...
When I compute this function: =IF(Q48=Protected!C27,+Q48,"") -- I get
results, but if I insert a range rather than a reference to only one cell,

I
get ### signs where my calculation should be.
If I try to compute: =IF(Q48=Protected!C27:C35,+Q48,"")

then I get the error symbol of ### rather than a computation. What am I
doing wrong.

Up all night on this!




Help Me Rhonda TOA[_2_]

I want to compute this formula: =IF(Q48=Protected!C27:C35,+Q48
 
This is a form that I have created in excel. I want to test if the user
inputs text in q48 that matches text contained in cells c27:c35, then plus
the content in q48 to another cell -- v26, if q48 is not the same as cells
c27:c35, then do not plus the content from q48 to v26.

So, I will try the formula that you sent me to see if this works, unless the
above extended explanation warrants a different solution? What do you think?
Thank you for your help on this.

"Don Guillett" wrote:

q48 is one number or data item and c27:c35 would consist of 8 numbers or
data. What do you want to test for?
BTW, leave out the + on +q48. You are in excel land now, not lotus.
maybe this is what you want???. If no match "", q48
=IF(ISNA(MATCH(q48,protected!c27:c35,0)),"",q48)

--
Don Guillett
SalesAid Software

"Help Me Rhonda TOA" <Help Me Rhonda
wrote in
message ...
When I compute this function: =IF(Q48=Protected!C27,+Q48,"") -- I get
results, but if I insert a range rather than a reference to only one cell,

I
get ### signs where my calculation should be.
If I try to compute: =IF(Q48=Protected!C27:C35,+Q48,"")

then I get the error symbol of ### rather than a computation. What am I
doing wrong.

Up all night on this!






All times are GMT +1. The time now is 03:59 AM.

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