Hey there! Sign in to join this conversationNew here? Join for free

Excel Formula Problem

Announcements Posted on
Take our survey to be in with the chance of winning a £50 Amazon voucher or one of 5 x £10 Amazon vouchers 24-05-2016
Struggling to get a graduate job in IT and tech? 17-05-2016
  1. Offline

    Hi all

    I was wondering if anyone can help me with an EXCEL FORMULA I'm trying to perfect?

    PROBLEM: I have a range of numbers on my spreadsheet (11 to 17) and I want them to have the same value =2

    also a range of numbers (18 to 24) and I want to have the same value =1

    Can anyone send me the formula ASAP to:

    [Removed - please use PMs or post here]

    I'm getting very very :mad: with this problem.
  2. Offline

    Am I right in thinking that you want if the number falls on one range you want to give it one value and if it's in the different range you want a different value? I can probably do whatever you're looking for but you are not very specific.

    This was posted from The Student Room's iPhone/iPad App
  3. Offline

    make a table somewhere on the spreadsheet:

    the go back to your data array and do a vlookup next to the column of data

    i.e assume the numbers were in column A with first number being in a2, then in b2 type: =vlookup(a2,e2:f20,2,0), where e2:f20 is the table with the key you made above.

    hope this helps

    This was posted from The Student Room's iPhone/iPad App


Submit reply


Thanks for posting! You just need to create an account in order to submit the post
  1. this can't be left blank
    that username has been taken, please choose another Forgotten your password?
  2. this can't be left blank
    this email is already registered. Forgotten your password?
  3. this can't be left blank

    6 characters or longer with both numbers and letters is safer

  4. this can't be left empty
    your full birthday is required
  1. Oops, you need to agree to our Ts&Cs to register
  2. Slide to join now Processing…

Updated: July 20, 2012
TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

Today on TSR

OCR Physics Breadth exam

Chat about the exam here

Are you registered to vote in the EU referendum?
Useful resources


The Student Room tech wikiTech forum guidelines

Quick link:

Unanswered technology and computers threads

Sponsored features:

Making money from your own website

Need some cash?

How to make money running your own website.

Groups associated with this forum:

View associated groups
Quick reply
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.