Closed Thread
Results 1 to 2 of 2

my lookup formula is wrong :-(

  1. #1
    Forum Contributor
    Join Date
    09-22-2009
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2016
    Posts
    134

    my lookup formula is wrong :-(

    Hello.

    I am using a Lookup formal to group ages as follows

    If I type in an age in A1, in A2 I want an age group to appear

    the groups are
    20-24
    25-29
    30-34
    35-39
    40-44
    45-49
    50-54
    55-59
    60-65

    can anyone see what I’ve done wrong

    so far, if I type in an age then it normally enters the group ABOVE what I want

    i.e. if I enter “24” then it put the group “25-29”. if I enter “42” it puts “45-49” and so on.

    Help lease

    =LOOKUP($A1,{0,16,20,25,30,35,40,45,50,55,60},{"<16","20-24","25-29","30-34","35-39","40-44","45-49","50-54","55-59","60+"})

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: my lookup formula is wrong :-(

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    Try to keep the title specific to the issue - ie what it is you're trying to achieve.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1