#1   Report Post  
jeremy via OfficeKB.com
 
Posts: n/a
Default IF statment/function

I have a row ow project numbers, I want to assign those over a value of
4000 a function VLOOKUP(B6,Sheet1!A1:B262,2,FALSE) and all the prject
numbers that are not over 4000, assign the letter "S". Any help?

This is what I have....

=IF(B64000, VLOOKUP(B6,Sheet1!A1:B262,2,FALSE), "S")

Thanks...
Jeremy

--
Message posted via http://www.officekb.com
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

What problem are you having with your formula? Syntactically it's fine.

If you're copying the formula, you might need to convert the lookup
range to absolute:

=IF(B64000, VLOOKUP(B6,Sheet1!$A$1:$B$262,2,FALSE), "S")

In article ,
"jeremy via OfficeKB.com" wrote:

I have a row ow project numbers, I want to assign those over a value of
4000 a function VLOOKUP(B6,Sheet1!A1:B262,2,FALSE) and all the prject
numbers that are not over 4000, assign the letter "S". Any help?

This is what I have....

=IF(B64000, VLOOKUP(B6,Sheet1!A1:B262,2,FALSE), "S")

Thanks...
Jeremy

  #3   Report Post  
jeremy via OfficeKB.com
 
Posts: n/a
Default

Sorry, I didn't specify that: I want all the project number under 4000 to
be assigned the category "S", which would be ok but some of them have
letters at the beginning or end (eg. "AD0023" or "4100WH")....

I just thought that maybe I can use paste/special first....

--
Message posted via http://www.officekb.com
  #4   Report Post  
jeremy via OfficeKB.com
 
Posts: n/a
Default

I tried paste special--it doesn't seem to get rid of the letters in front
or behing a number....

--
Message posted via http://www.officekb.com
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



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