+ Reply to Thread
Results 1 to 7 of 7

Need Help Creating a Formula for this data.

Hybrid View

  1. #1
    Registered User
    Join Date
    06-08-2017
    Location
    Manila
    MS-Off Ver
    2007
    Posts
    5

    Need Help Creating a Formula for this data.

    Hi,

    Sorry, it's my first time to post here - could really use some help on how to turn this into a working formula for a spreadsheet.

    So, I've got a data table like this:

    excel 1.PNG

    Basically, it's a grading system depending on how many stores an individual has that are compliant. The grading scale depends on the number of stores you have - if you have 8 stores and 7 that are compliant, then you would get a score of 4. The scores are the ones at the top in black text.

    Then, I've got another section that looks like this:

    excel2.PNG

    So what I want to happen here is that someone just enters (1) the number of stores he has, (2) the number of stores that are fully compliant, and have the corresponding grade come out on the leftmost box.

    I tried doing nesting going through it one by one (ex. if you have 8 stores and 8 are compliant, you get a 5, if you have 8 stores and 7 are compliant, you get a 4, etc.) but past a certain amount of nesting Excel doesn't allow me to put in any more arguments.

    Would appreciate any help coming from here!

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Need Help Creating a Formula for this data.

    Hi
    is there any pattern to how the grade links to the compliance level, eg if 100% are compliant you score 5, if >90% you score 4 etc.

  3. #3
    Registered User
    Join Date
    06-08-2017
    Location
    Manila
    MS-Off Ver
    2007
    Posts
    5
    Quote Originally Posted by NickyC View Post
    Hi
    is there any pattern to how the grade links to the compliance level, eg if 100% are compliant you score 5, if >90% you score 4 etc.
    There is, but it's inconsistent. If you look at the table, getting 3/4 stores compliant gives a different score than getting 6/8 compliant when they're both 75%.

    Will check out the VLOOKUP thing you posted. Thanks!

  4. #4
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Need Help Creating a Formula for this data.

    if not, you could try using a lookup table. This could be on a separate sheet, though I have put it on the same sheet in the attached so you can see what's happening
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-08-2017
    Location
    Manila
    MS-Off Ver
    2007
    Posts
    5

    Re: Need Help Creating a Formula for this data.

    Okay, so I tried the suggestion above, but this is what pops out:

    excel 3.PNG

    Not sure why it keeps displaying a 0 - any value I put in the two input cells just results in the same thing. Where'd I go wrong on this one?

  6. #6
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Need Help Creating a Formula for this data.

    Hi
    I think you are looking in the blank area of your grid. Try reversing the matches, i.e.:

    =OFFSET($K$112,MATCH(E115,$L$112:$S$112),MATCH(D115,$K$113:$K$120))
    if that doesn't work, can you upload a copy of the file for me to look at? Its a lot easier than working with a screen shot

  7. #7
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,935

    Re: Need Help Creating a Formula for this data.

    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 go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Ben Van Johnson

+ 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. Creating a formula that will tier my data
    By soybn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-21-2017, 05:44 PM
  2. Replies: 9
    Last Post: 11-05-2014, 08:17 AM
  3. [SOLVED] formula for creating url out of cell data
    By topaz99 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-29-2014, 12:42 PM
  4. Creating a formula to compare 32 sets of data against each other?
    By Trey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-10-2006, 07:40 AM
  5. Creating a formula by using data in another file
    By Mindy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-28-2006, 11:35 AM
  6. Need help creating a formula to summarize data!
    By Dorn in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-11-2005, 04:25 PM
  7. Creating a graphical formula from a set of data
    By rmellison in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-17-2005, 07:05 AM

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