+ Reply to Thread
Results 1 to 33 of 33

LOOKUP not working, how bizarre

  1. #1
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    LOOKUP not working, how bizarre

    I have already gotten good help with this spreadsheet l'm working on. It's for keeping scores on a quiz.

    However, for the final statement of the scores (ROW 17), LOOKUP only works for the first result in D17. So, l can match the highest score, which goes in D17, with the name of the contestant (in the range i2:i11) who got that score.

    For the next highest score, in F17, and the next in H17, then J17 etc. LOOKUP fails to match the scores placed in those cells, with the names in the range i2:i11.

    Please can somebody help me fill in the boxes that state "WHAT FORMULA GOES HERE?" in block capitals, all on ROW 17?


    Please see attached spreadsheet.
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: LOOKUP not working, how bizarre

    Try this Array Formula. Remember Array Formula requires special keystrokes Ctrl+Shift+Enter instead of just Enter which you normally use in case of a regular excel formula.

    In D17
    Please Login or Register  to view this content.
    and then copy across the row.

    Is this what you are trying to achieve?
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    Quote Originally Posted by sktneer View Post
    Try this Array Formula. Remember Array Formula requires special keystrokes Ctrl+Shift+Enter instead of just Enter which you normally use in case of a regular excel formula.

    In D17
    Please Login or Register  to view this content.
    and then copy across the row.

    Is this what you are trying to achieve?

    Yes that works! The other person that helped me got it right, but this bit was a further addition that l forgot to include.

    Thanks for that, rep point on its way!

    By the way, do you know why LOOKUP didn't work, or rather, why it only worked for the highest score, and then stopped for the next and the next etc.? I don't understand why LOOKUP fell apart so easily.

  4. #4
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    Also, do you know how to expand the quiz to account for 40 quiz questions instead of just 10?

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: LOOKUP not working, how bizarre

    Quote Originally Posted by CatSqueezer View Post
    .....do you know why LOOKUP didn't work, or rather, why it only worked for the highest score, and then stopped for the next and the next etc.?
    For LOOKUP to work the lookup range (J2:J11) needs to be sorted ascending.....and yours is not. That could be remedied by using INDEX and MATCH but that still wouldn't cater for duplicates, which is why you need a more complex solution for the layout that you have
    Audere est facere

  6. #6
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    OK daddylonglegs l think that explains it.

    By the way, could you perhaps help with what l've just asked sktneer? I was wondering how to expand the spreadsheet to go beyond 10 quiz questions (see Column A), to cater for 40 quiz questions instead?

    I tried scaling the numbers up in the formulae, but it just didn't work.

    If you can respond, please do so using the spreadsheet sktneer submitted as his solution.

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: LOOKUP not working, how bizarre

    To accommodate 40 questions expand all the ranges in the formulae that are now like $J$2:$j$11 to $J$2:$J$42.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  8. #8
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    Quote Originally Posted by newdoverman View Post
    To accommodate 40 questions expand all the ranges in the formulae that are now like $J$2:$j$11 to $J$2:$J$42.
    It doesn't work, l've tried it, because not all formulae were simply 2:11, some were 2:10 and when i scaled those up to 2:39 (i.e. 40-1), the who thing broke

  9. #9
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    Actually i think i can take it from here, thanks guys

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: LOOKUP not working, how bizarre

    I just made the rows for the ranges be 40 the formula in J2 would be

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The formula given by sktneer will work the same way

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  11. #11
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: LOOKUP not working, how bizarre

    I assume that you are not having any issue with the formula in the score col. J. If so, you can see what Ron has suggested in his post#10.
    As far as your current formula is concerned, earlier your scores were in the range J2:J11, then the formula suggested by me worked. But now if you increase the data in col. J that means you have increased the data in all the columns which are referenced by the formula in score column i.e. col. J. Therefore in this case you will have to adjust your formula which was earlier for row 17 to any row down below the row 42 (since now you have raw data up to row 42). So say now you want to input this formula in D47, your formula would be like this.....

    Please Login or Register  to view this content.
    Does that help?

    If still not getting the desired output, please upload the workbook with the formula applied.
    Last edited by sktneer; 09-22-2014 at 01:18 AM.

  12. #12
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: LOOKUP not working, how bizarre

    @sktneer

    I think that the OP was also having problems with the calculations with the data for column J not realizing that the formulae there also had to be adjusted to take care of the 40 rows.

  13. #13
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    Hi,

    I've really run into a lot of difficulty altering this spreadsheet (the version you gave me in Post #2 of this thread). I have the following requestions, and l hope you can help me:

    # Please could you move W14 to W17 (it doesn't seem possible, l don't know why)
    # Also, l need the row to give Player, then Player's Score. Currently, Row 17 gives Player's Score, then Player.
    # Also, l need a duplicate set of scores arranged in a table, with the highest score at the top, the lowest at the bottom, and the corresponding player's names to the left of each score (just as in cells i2 to j11, but this time, arranged in descending numerical order, just as in Row 17)
    # Also, l need the scores on Row 17 to be shifted out of the way, so that they begin in column I, preferably Row 20, but Row 17 would do, as long as the results begin in Column I instead of Column D as they do at present.
    # Also, l need the scope of the spreadsheet extended to 40 questions (see Column A), instead of the present 10 questions.


    I understand that you have given me a solution for extending the total no. of questions, but the other alterations l need to make (see the list above) just complicate everything. However, l could take the hints you've already given, to extend the number of quiz questions catered by the spreadsheet myself.

    However: the other alterations (see above) still stand and l've tried to do it myself but don't seem to be getting anywhere, l really have tried. Please could you help?

    I have included the version of the spreadsheet l am working on right now, as an attachment - it is basically the same as the one you have given me in Post #2 of this thread.
    Attached Files Attached Files
    Last edited by CatSqueezer; 09-29-2014 at 03:38 AM.

  14. #14
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    Hi newdoverman, l've decided l need quite a few more alterations, l've made a new post in reply to sktneer, please see Post #13 (above), can you help?

  15. #15
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: LOOKUP not working, how bizarre

    Do you have access to Excel 2007 or later? I don't have Excel 2000 and don't know what functions it doesn't have that are available in the new versions.

  16. #16
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    Quote Originally Posted by newdoverman View Post
    Do you have access to Excel 2007 or later? I don't have Excel 2000 and don't know what functions it doesn't have that are available in the new versions.
    No l only have Excel 2000. However, l can say for certain that all of the functions used in the above spreadsheet are compatible with Excel 2000.

    There might be an issue inasmuch as l am using Libre Office Calc for the my work, but l am saving everything as an Excel 2000-compatible .xls file.

  17. #17
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: LOOKUP not working, how bizarre

    I think that you should contact sktneer about this. I have no idea what will or will not work in Excel 2000 as I never had that version and am using Excel 2010. It would probably be better to post another question with the revised requirements. I have revised your workbook to handle 40 questions.

    I didn't solve the formula for row 17 because I couldn't be certain that my solution would actually work. I did however "shove" it across to start where you want.

    I really think that the horizontal arrangement is difficult to read....why not just have a table that you can sort into any order that you want and it is easy to read?

  18. #18
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    Quote Originally Posted by newdoverman View Post
    I think that you should contact sktneer about this. I have no idea what will or will not work in Excel 2000 as I never had that version and am using Excel 2010. It would probably be better to post another question with the revised requirements. I have revised your workbook to handle 40 questions.

    I didn't solve the formula for row 17 because I couldn't be certain that my solution would actually work. I did however "shove" it across to start where you want.

    I really think that the horizontal arrangement is difficult to read....why not just have a table that you can sort into any order that you want and it is easy to read?

    Hi,

    Can l see your version? I don't think it's uploaded.

    And re: the horizontal arrangement - it exists so that the Quiz Master can copy and paste the scores directly into the chatroom where the quiz is being held, after every single question and possibly also at the end of the quiz when the final scores are given out. The horizontal arrangement is compact when copy-pasted into the chatroom, hence especially suited for giving scores out at the end of each question.

    However, if the max. paragraph size for that chatroom permits it, l wanted there to be available a vertical representation of the scores too.

    Finally, the vertical representation can facilitate (slightly more than the horizontal representation) the copy-pasting of the scores player by player, which enables participants to cheer for each player individually and gives an element of suspense at the end of the quiz.


    By the way, please don't see this as a "do my homework for me" question, l really did try to shift the fields around the worksheet, but got really weird results every time.

    P.S. I have also asked sktneer to help revise the spreadsheet (see a few posts up).
    Last edited by CatSqueezer; 09-30-2014 at 10:36 AM. Reason: Explained more about why a horiztonal display is good

  19. #19
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: LOOKUP not working, how bizarre

    Ok here is the file that somehow didn't get included with my last post. I will also include a file that I created using Excel 2010 in case you can get to view it for ideas. The results of my trying to change the formulas in the horizontal setup were totally bizarre so I "chucked" them.
    Attached Files Attached Files

  20. #20
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    Thanks newdoverman.

    The first spreadsheet (29 September) is good, but there's that cell in W14 that won't budge.
    The second spreadsheet (29 September - ndm) gives the horizontal scores as "Dave - Dave" for each set of scores. i.e. just repeats the name for the scores. But then, you did say that you chucked that horizontal row's formulae.

    I think this might fall to sktneer to complete?

    Feel free to comment on why this is so hard to fix ...

  21. #21
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: LOOKUP not working, how bizarre

    It's too bad that you can't use a more up to date version. It is easier to use (I think) and has more features. I was able to quickly accomplish what you asked by using a much different approach for handling the data including putting the results in a table that allowed the sorting of the results to give a list ordered by name or score. The horizontal row was created by creating a vertical listing of the table then using TRANSPOSE to make a horizontal listing. That however isn't part of Excel 2000.

    If you post another question, perhaps sktneer will see it and participate.

  22. #22
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    Quote Originally Posted by newdoverman View Post
    It's too bad that you can't use a more up to date version. It is easier to use (I think) and has more features. I was able to quickly accomplish what you asked by using a much different approach for handling the data including putting the results in a table that allowed the sorting of the results to give a list ordered by name or score. The horizontal row was created by creating a vertical listing of the table then using TRANSPOSE to make a horizontal listing. That however isn't part of Excel 2000.

    If you post another question, perhaps sktneer will see it and participate.


    Hiya, l might be able to use TRANSPOSE on LibreOffice Calc, it is much more modern, can you send it as an attachment please?

  23. #23
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: LOOKUP not working, how bizarre

    This is how TRANSPOSE is used in the XLSX file. This file is NOT functional as it should be because of the formulae that I had to strip out to make a XLS file.
    Attached Files Attached Files

  24. #24
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    Quote Originally Posted by newdoverman View Post
    This is how TRANSPOSE is used in the XLSX file. This file is NOT functional as it should be because of the formulae that I had to strip out to make a XLS file.
    Hiya!

    Yes l can view it.

    I have to ask: Is there any way you can make Row 17 give the scores in descending order?

    And then in parallel to that, between L2 and M13 (this is fallow space at the moment), give the scores once again, in descending order (i.e. in vertical format, duplicating Row 17, but Row 17 is in horizontal format)?

  25. #25
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: LOOKUP not working, how bizarre

    The order of row 17 is directly dependant upon the order of the listing in Sheet1!I1:J6. Sort the table and the order of row 17 changes accordingly.

  26. #26
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    Quote Originally Posted by newdoverman View Post
    The order of row 17 is directly dependant upon the order of the listing in Sheet1!I1:J6. Sort the table and the order of row 17 changes accordingly.
    I2:J11 (it's actually all the way to J11, the quiz master automatically gets 10 points) must never be sorted. There might be contestants that arrive late etc. so their names must be added to the list as and when they arrive. Thus there is no particular order to I2:I11, and thus there is no particular order to J2:J11.

    However, the horizontal row, and the vertical replica of the horizontal row, must be put in order of descending score. Can you make it so?

  27. #27
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: LOOKUP not working, how bizarre

    You are running up against the limitations of the old VS new versions of Excel.

    I really don't understand your vertical requirement. You already have it in I1:J11 which can be in any order that you want.

    The horizontal arrangement is directly tied to the order in I1:J11. What ever order you arrange I1:J11 is reflected in the order row 17.

    To eliminate the possibility of sorting the Quiz Master, I moved it. It will however remain at the end of row 17 with the cells before it being filled from the contents of I1:J11

    I deleted all parts that I could find that no longer affected the calculations.

    I don't think that there is anything more that I can do.
    Attached Files Attached Files
    Last edited by newdoverman; 10-02-2014 at 08:25 PM.

  28. #28
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    Quote Originally Posted by newdoverman View Post
    You are running up against the limitations of the old VS new versions of Excel.

    I really don't understand your vertical requirement. You already have it in I1:J11 which can be in any order that you want.

    The horizontal arrangement is directly tied to the order in I1:J11. What ever order you arrange I1:J11 is reflected in the order row 17.

    To eliminate the possibility of sorting the Quiz Master, I moved it. It will however remain at the end of row 17 with the cells before it being filled from the contents of I1:J11

    I deleted all parts that I could find that no longer affected the calculations.

    I don't think that there is anything more that I can do.

    The answers to most of your questions l've already answered in meticulous detail within this thread.

    But one thing to clarify: l don't manually sort because manual (pressing the A-Z button) sorting will mess up everything else on the rows involved, and also, it makes using pen and paper much more appealing.

    Also, the Quiz Master was meant to be sorted.

    Thanks for your contributions though, l will try to crack this somehow.

  29. #29
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: LOOKUP not working, how bizarre

    In your message #26 you said "I2:J11 (it's actually all the way to J11, the quiz master automatically gets 10 points) must never be sorted". I understood that to mean that the quiz master was never to be sorted.

    Ok, I moved the quiz master back into a sortable position and gave you a place to enter contestants in the order that you want without any built in sorting (from your original worksheet). There is no automation in the worksheet to fill both lists as this would defeat your wish for an unsorted list.

    Good Luck.
    Attached Files Attached Files

  30. #30
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    Quote Originally Posted by newdoverman View Post
    In your message #26 you said "I2:J11 (it's actually all the way to J11, the quiz master automatically gets 10 points) must never be sorted". I understood that to mean that the quiz master was never to be sorted.

    Ok, I moved the quiz master back into a sortable position and gave you a place to enter contestants in the order that you want without any built in sorting (from your original worksheet). There is no automation in the worksheet to fill both lists as this would defeat your wish for an unsorted list.

    Good Luck.

    Hiya Newdoverman,

    Thanks for all your input. I'm quite impressed by all you have done, it's just a shame that the problem is so complex. It is complex because the quiz is too flexible for its own good

    I've looked at your latest attempt and l've decided to create an example spreadsheet of what l want to do, in its totality, with all the positioning etc. Please see attachment.

    If you feel you need to use the Excel 2007 format, that's fine. I can actually read it via LibreOffice Calc (for Linux).

    Apologies for being so hazy about this whole matter, l've been adding little caveats ad hoc. But now, l don't think l've left anything more to add. Thank you for your patience, let me know what you think. If you've had enough, let me know
    Attached Files Attached Files

  31. #31
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: LOOKUP not working, how bizarre

    I think that I have met all the requirements that you have indicated. Seeing what you required in the end was certainly a help. The "sorted" ranges should auto sort.
    Attached Files Attached Files

  32. #32
    Registered User
    Join Date
    12-04-2013
    Location
    Oxford, England
    MS-Off Ver
    Excel 2000
    Posts
    93

    Re: LOOKUP not working, how bizarre

    Quote Originally Posted by newdoverman View Post
    I think that I have met all the requirements that you have indicated. Seeing what you required in the end was certainly a help. The "sorted" ranges should auto sort.
    You certainly met the requirements mate! Well done. Rep point on its way (not for the first time to ya)!

  33. #33
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: LOOKUP not working, how bizarre

    Thank you for the feedback. It is appreciated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Why does the trim() function not working? This is so bizarre!
    By tjj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-05-2016, 10:26 AM
  2. [SOLVED] Formula's not working Properly, and acting completely bizarre!
    By Sky188 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-04-2012, 01:05 PM
  3. The most bizarre?
    By smileyc in forum The Water Cooler
    Replies: 5
    Last Post: 03-20-2009, 11:52 AM
  4. Very bizarre behavior
    By conniew69 in forum Excel General
    Replies: 2
    Last Post: 09-10-2006, 09:20 PM
  5. [SOLVED] bizarre launching
    By curmudg45 in forum Excel General
    Replies: 3
    Last Post: 03-05-2006, 03:30 PM

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