ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   IF Function (https://www.excelbanter.com/excel-discussion-misc-queries/1144-if-function.html)

Sam

IF Function
 
how do i create an IF function that displays a certain value when a number
from one to seven is in the correct cell?

i have tried the following formula but it doesnt work:

=IF(AND(A3=9,B7=1,C7=2,B3=1:7),(10),(50))

what is wrong with my formula? how should i change it?

cheers sam

Frank Kabel

=IF(AND(A3=9,B7=1,C7=2,B3=1,B3<=7),10,50)

--
Regards
Frank Kabel
Frankfurt, Germany

"Sam" schrieb im Newsbeitrag
...
how do i create an IF function that displays a certain value when a

number
from one to seven is in the correct cell?

i have tried the following formula but it doesnt work:

=IF(AND(A3=9,B7=1,C7=2,B3=1:7),(10),(50))

what is wrong with my formula? how should i change it?

cheers sam



Sam

Thanks for your help

Sam

"Frank Kabel" wrote:

=IF(AND(A3=9,B7=1,C7=2,B3=1,B3<=7),10,50)

--
Regards
Frank Kabel
Frankfurt, Germany

"Sam" schrieb im Newsbeitrag
...
how do i create an IF function that displays a certain value when a

number
from one to seven is in the correct cell?

i have tried the following formula but it doesnt work:

=IF(AND(A3=9,B7=1,C7=2,B3=1:7),(10),(50))

what is wrong with my formula? how should i change it?

cheers sam





All times are GMT +1. The time now is 06:36 AM.

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