IF statment/function

  • Thread starter Thread starter jeremy via OfficeKB.com
  • Start date Start date
J

jeremy via OfficeKB.com

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(B6>4000, VLOOKUP(B6,Sheet1!A1:B262,2,FALSE), "S")

Thanks...
Jeremy
 
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(B6>4000, VLOOKUP(B6,Sheet1!$A$1:$B$262,2,FALSE), "S")
 
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....
 
I tried paste special--it doesn't seem to get rid of the letters in front
or behing a number....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

If AND query 5
XIRR 1
Formatting Data in cell in colour 3
Vlookup 2
i really have no idea if this can be done... 2
writing a sort macro 2
EXCEL - IF(IFERROR(VLOOKUP question 0
Combining IF Statement and Vlookup 0

Back
Top