#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 34
Default 14 Clients

Column P has a picklist of 14 clients. With exception of 2 they are charged a
standard rate of $26, the exceptions are $25 for hackney and $30 for lewis.
Howcan I write a better formula than the one below?
=IF(L3="Hackney",25,IF(L3="Lewisham",30,IF(L3="Pin nacle",26))) ... which
returns a FALSE because I cannot include all the arguments.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default 14 Clients

On Wed, 18 Oct 2006 03:20:02 -0700, Michell Major
wrote:

Column P has a picklist of 14 clients. With exception of 2 they are charged a
standard rate of $26, the exceptions are $25 for hackney and $30 for lewis.
Howcan I write a better formula than the one below?
=IF(L3="Hackney",25,IF(L3="Lewisham",30,IF(L3="Pi nnacle",26))) ... which
returns a FALSE because I cannot include all the arguments.


Build a table with names in one column and rates in adjacent column. Then use
VLOOKUP (see HELP for details).


--ron
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default 14 Clients

Hi Michell

You have raised 3 questions in 3 separate threads. It might have been
better to combine them into one.

=IF(L3="",0,IF(L3="Hackney",25,IF(L3="Lewisham",30 ,26)))
will return 26 for any value in L3 other than Null which will return 0
or the 2 exceptions you outline

Sometimes we need to add $10 for a priority callout across the board.
Suggestions please on how ... IF(J3=P then add $10


=IF(L3="",0,IF(L3="Hackney",25,IF(L3="Lewisham",30 ,26)))+(J3="P")*10

=IF(K15="Private Job","S",IF(K15="",""))
I want it to return a void ("") for any other value in K15


=IF(K15="Private Job","S","")


--
Regards

Roger Govier


"Michell Major" wrote in
message ...
Column P has a picklist of 14 clients. With exception of 2 they are
charged a
standard rate of $26, the exceptions are $25 for hackney and $30 for
lewis.
Howcan I write a better formula than the one below?
=IF(L3="Hackney",25,IF(L3="Lewisham",30,IF(L3="Pin nacle",26))) ...
which
returns a FALSE because I cannot include all the arguments.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default 14 Clients

You only need the IFs to pick up the exceptions - the other clients can
default to one rate, so something like this should do what you want:

=IF(L3="Hackney",25,IF(L3="Lewisham",30,26))

You might like to amend it to:

=IF(L3="",0,IF(L3="Hackney",25,IF(L3="Lewisham",30 ,26)))

so that you return zero if L3 is empty (more useful if you copy the
formula down).

Hope this helps.

Pete

Michell Major wrote:
Column P has a picklist of 14 clients. With exception of 2 they are charged a
standard rate of $26, the exceptions are $25 for hackney and $30 for lewis.
Howcan I write a better formula than the one below?
=IF(L3="Hackney",25,IF(L3="Lewisham",30,IF(L3="Pin nacle",26))) ... which
returns a FALSE because I cannot include all the arguments.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 34
Default 14 Clients


Wow thanks! Very kind of you.

"Roger Govier" wrote:

Hi Michell

You have raised 3 questions in 3 separate threads. It might have been
better to combine them into one.

=IF(L3="",0,IF(L3="Hackney",25,IF(L3="Lewisham",30 ,26)))
will return 26 for any value in L3 other than Null which will return 0
or the 2 exceptions you outline

Sometimes we need to add $10 for a priority callout across the board.
Suggestions please on how ... IF(J3=P then add $10


=IF(L3="",0,IF(L3="Hackney",25,IF(L3="Lewisham",30 ,26)))+(J3="P")*10

=IF(K15="Private Job","S",IF(K15="",""))
I want it to return a void ("") for any other value in K15


=IF(K15="Private Job","S","")


--
Regards

Roger Govier


"Michell Major" wrote in
message ...
Column P has a picklist of 14 clients. With exception of 2 they are
charged a
standard rate of $26, the exceptions are $25 for hackney and $30 for
lewis.
Howcan I write a better formula than the one below?
=IF(L3="Hackney",25,IF(L3="Lewisham",30,IF(L3="Pin nacle",26))) ...
which
returns a FALSE because I cannot include all the arguments.




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
Keeping record of clients and job numbers per bill? Chhaya Excel Discussion (Misc queries) 1 September 18th 06 12:55 PM
Can I merge data of 200 clients into an invoice template? Gail New Users to Excel 1 February 28th 06 06:51 PM
How do I create an investment portfolio for my clients? Mr. Cohen Charts and Charting in Excel 1 January 17th 06 09:04 PM
How Do I organize sheets and clients by town? Sr. Vice Deli Excel Worksheet Functions 2 July 26th 05 08:30 PM
Match a name to all clients? Dixie Excel Worksheet Functions 3 April 30th 05 03:28 AM


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

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

About Us

"It's about Microsoft Excel"