ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   if statements (https://www.excelbanter.com/excel-discussion-misc-queries/56106-if-statements.html)

tom

if statements
 
i was wondering if anyone could tell me how to create an IF statement where i
want to compare a a set criteria to a result and give it 1 mark it it makes
the criteria and then and extra 1 point for ever 5% it is above the criteria

Biff

if statements
 
Can you provide an example?

Biff

"tom" wrote in message
...
i was wondering if anyone could tell me how to create an IF statement where
i
want to compare a a set criteria to a result and give it 1 mark it it
makes
the criteria and then and extra 1 point for ever 5% it is above the
criteria




Arvi Laanemets

if statements
 
Hi

=MAX(0,INT(B1/A1))+MAX(0,INT((B1-A1)/5))


--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )


"tom" wrote in message
...
i was wondering if anyone could tell me how to create an IF statement where
i
want to compare a a set criteria to a result and give it 1 mark it it
makes
the criteria and then and extra 1 point for ever 5% it is above the
criteria




Arvi Laanemets

if statements
 
Sorry


=(B1A1)+MAX(0,INT((B1-A1)/5))


--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )



"Arvi Laanemets" wrote in message
...
Hi

=MAX(0,INT(B1/A1))+MAX(0,INT((B1-A1)/5))


--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )


"tom" wrote in message
...
i was wondering if anyone could tell me how to create an IF statement
where i
want to compare a a set criteria to a result and give it 1 mark it it
makes
the criteria and then and extra 1 point for ever 5% it is above the
criteria







All times are GMT +1. The time now is 08:31 AM.

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