Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default I need to create a two part formula

The formula below will return a GPA for our salespeople
=IF(H70.9,4,IF(H7=0.8,3,IF(H7=0.7,2,IF(H7=0.6, 1,0)))), but I need to add
one more criteria and that if another cell (C4) = 0 then the results of this
formula need to be 0 as well.

I hope this makes sense, can someone please help me.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default I need to create a two part formula

Something like:
=IF(C4=0,0,H70.9,4,IF(H7=0.8,3,IF(H7=0.7,2,IF(H 7=0.6,1,0)))))

Regards,
Fred

"DMW" wrote in message
...
The formula below will return a GPA for our salespeople
=IF(H70.9,4,IF(H7=0.8,3,IF(H7=0.7,2,IF(H7=0.6, 1,0)))), but I need to
add
one more criteria and that if another cell (C4) = 0 then the results of
this
formula need to be 0 as well.

I hope this makes sense, can someone please help me.

Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default I need to create a two part formula

=If(C4 = 0, 0, IF(H70.9,4,IF(H7=0.8,3,IF(H7=0.7,2,IF(H7=0.6,1 ,0)))))
--
HTH...

Jim Thomlinson


"DMW" wrote:

The formula below will return a GPA for our salespeople
=IF(H70.9,4,IF(H7=0.8,3,IF(H7=0.7,2,IF(H7=0.6, 1,0)))), but I need to add
one more criteria and that if another cell (C4) = 0 then the results of this
formula need to be 0 as well.

I hope this makes sense, can someone please help me.

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default I need to create a two part formula

Hi,
=if(C4=0,0,IF(H70.9,4,IF(H7=0.8,3,IF(H7=0.7,2,I F(H7=0.6,1,0)))))

"DMW" wrote:

The formula below will return a GPA for our salespeople
=IF(H70.9,4,IF(H7=0.8,3,IF(H7=0.7,2,IF(H7=0.6, 1,0)))), but I need to add
one more criteria and that if another cell (C4) = 0 then the results of this
formula need to be 0 as well.

I hope this makes sense, can someone please help me.

Thanks!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default I need to create a two part formula

Let's say goodbye to IF for this one
First try
=LOOKUP(H7*10,{0,6,7,8,9},{0,1,2,3,4})*(C4<0)

But that throws up a 4 for H7 =0.9 and you have H70.9
How about
=LOOKUP(H7*10,{0,6,7,8,9.0000001},{0,1,2,3,4})*(C4 <0)
or
=(C4<0)*((H7=0.6)+(H7=0.7)+(H7=0.8)+(H70.9))
best wishes
--
Bernard Liengme
Microsoft Excel MVP
people.stfx.ca/bliengme
email address: remove uppercase characters

"DMW" wrote in message
...
The formula below will return a GPA for our salespeople
=IF(H70.9,4,IF(H7=0.8,3,IF(H7=0.7,2,IF(H7=0.6, 1,0)))), but I need to
add
one more criteria and that if another cell (C4) = 0 then the results of
this
formula need to be 0 as well.

I hope this makes sense, can someone please help me.

Thanks!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a hyperlink to open a file with part of the name tsraj Excel Worksheet Functions 0 October 26th 09 07:30 PM
Create a Hyperlink as part of a macro Nahraine New Users to Excel 1 March 7th 07 04:37 PM
How do I create a formula using part of the data in 1 cell? SMC0890 Excel Worksheet Functions 3 August 11th 06 08:48 PM
Can I create an IF statement that looks for part of a string of te Josh Craig Excel Worksheet Functions 2 June 19th 06 08:23 AM
how do I create a line graph for part of the periods? Harold Rostoker Charts and Charting in Excel 1 August 6th 05 02:20 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"