#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default LOOKUP?

I've got another formula question if someone could please help.

I have a list of CRP Practices (columnA) some of which pay out a bonus of
20% and some do not. The CRP Practices are in a drop down list in columnA. I
want the SRR Bonus (columnB) to automatically enter "20%" or "None" depending
on which corresponding CRP Practice is selected in columnA. I tried to use
the LOOKUP command but it doesn't always work and I believe it has something
to do with the practices not being in numerical order (according to Excel). I
could sort them, but I'd rather they stay in the order that I choose...not
how Excel sorts them.

Any suggestions?

EX:

Column A Column B
CRP Practice SRR Bonus
CP-5A 20%
CP-16A N
CP-21 20%
CP-23A 20%
CP-25 N
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default LOOKUP?


If you don't want to sort them, then use VLOOKUP() with FALSE as the 4th
argument...

e.g

=VLOOKUP(A1,list_table,2,FALSE)

will lookup the value from A1 in your 2-column list_table and extract
from the 2nd column (independent of sort order).


--
NBVC

Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=116328

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default LOOKUP?

OK its working sort-of...is there a way to get "None" in Column B if the 20%
bonus does not apply?

"NBVC" wrote:


If you don't want to sort them, then use VLOOKUP() with FALSE as the 4th
argument...

e.g

=VLOOKUP(A1,list_table,2,FALSE)

will lookup the value from A1 in your 2-column list_table and extract
from the 2nd column (independent of sort order).


--
NBVC

Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=116328


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default LOOKUP?


Isn't that in the table as "N"?

just change the "N" in the table to "None".


--
NBVC

Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=116328

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default LOOKUP?

THANKS!

"NBVC" wrote:


Isn't that in the table as "N"?

just change the "N" in the table to "None".


--
NBVC

Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=116328




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
LOOKUP FUNCTION? (LOOKUP VALUE BEING A TIME RENERATED FROM A FORMU JCC Excel Discussion (Misc queries) 5 June 26th 09 09:15 PM
Lookup looks to the prior column if zero appears in the lookup col kenbquik Excel Discussion (Misc queries) 2 March 12th 09 03:41 AM
Get Cell Address From Lookup (Alternative to Lookup) ryguy7272 Excel Worksheet Functions 12 September 28th 07 10:36 PM
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM


All times are GMT +1. The time now is 09:51 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"