+ Reply to Thread
Results 1 to 17 of 17

index/match formula ?

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    03-10-2009
    Location
    chicago illinois
    MS-Off Ver
    Excel 2010
    Posts
    127

    index/match formula ?

    Hello. I need some help with the attached spread sheet. Current I am using two spreadsheets for similar press and am combining the two. What I need help with this time is currently in cell c9 the formula is =ROUNDDOWN(17.7/C7,0) or =ROUNDDOWN(39.3/C7,0) depending on which press I am using. The presses are shown in cells d34 - q34. Indigo =17.7 gilboa = 39.3. I have added these numbers to a table in the scales tab a24:e26. Is there a way to write a formula in cell c9 on the input tab to combine the 2 above formulas and insert the correct 17.7 or 39.3 when required?
    Last edited by sp1974; 06-18-2009 at 01:00 PM.

  2. #2
    Forum Contributor
    Join Date
    03-10-2009
    Location
    chicago illinois
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: index/match formula ?

    I will have to move from a single cell result to multiple cell result since there are multiple quantities required. I know this.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: index/match formula ?

    How do you know which press you are using? Is it from A1?

    I put Indigo in A2 and changed your formula to:

    =ROUNDDOWN(VLOOKUP(A2,Scale!$A$25:$E$26,5,0)/C7,0)

    You would probably have to enter the press name somewhere as I did or extract it from A1....
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: index/match formula ?

    Let's put it this way.. How did you determine to use 17.7 in your sample worksheet?

  5. #5
    Forum Contributor
    Join Date
    03-10-2009
    Location
    chicago illinois
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: index/match formula ?

    17.7 is the drum repeat for the indigo press and 39.3 is the drum repeat for the gilboa. It runs on the indigo based on a size limitation 0-400,000 square inches and 400,001 runs on gilboa. The press name based on size limitations is shown d34 - q34

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: index/match formula ?

    I am going to assume that A1 containing the word "Indigo" means you are looking at Indigo stats... because I still don't know how you determined to use Indigo stat in your formula...

    =ROUNDDOWN(VLOOKUP(IF(ISNUMBER(SEARCH("Indigo",A1)),"Indigo","Gilboa"),Scale!$A$25:$E$26,5,0)/C7,0)

  7. #7
    Forum Contributor
    Join Date
    03-10-2009
    Location
    chicago illinois
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: index/match formula ?

    the Indigo in a1 is just there because I havent changed it yet. Indigo or Gilboa is based on total square inches by quantity. Take (c4*c5) and multiply that by quantity d18:q18. The results are shown in d20:q20. 0-399,999 would run on the indigo and 400,000 + run on the gilboa as shown in d34:q34. does that help any?

  8. #8
    Forum Contributor
    Join Date
    03-10-2009
    Location
    chicago illinois
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: index/match formula ?

    the formula i am looking to achieve will figure the number around based on the drum repeat. example 4" long label would equal 4 around on the 17.7 drum and would equal 9 on the 39.3 drum repeat. the 4 or 9 is the answer I want to show

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: index/match formula ?

    I understand all that, but maybe I just am not seeing something obvious.

    You have only one cell with this formula in it, cell C9, correct?

    How do you know which of the presses to account for in this one formula? Your table in D34:Q34 shows for both presses... so the formula won't know by that, what value to use?

  10. #10
    Forum Contributor
    Join Date
    03-10-2009
    Location
    chicago illinois
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: index/match formula ?

    right I have to change it to multiple cells was going to add a row to d21:q21 to show the number around for each quantity. sorry for confusion. i stated in my 2nd post i realized i needed to do that so sorry if i was unclear

  11. #11
    Forum Contributor
    Join Date
    03-10-2009
    Location
    chicago illinois
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: index/match formula ?

    I guess all this helped me to work threw it. I thought it was going to be more difficult than it needed to be but the forlmula I used to determine the press will work with a few minor changes

    =IF(D$20<400000,ROUNDDOWN(17.7/$C$7,0),ROUNDDOWN(39.3/$C$7,0))

    Sorry for the frustration/confusion.

  12. #12
    Forum Contributor
    Join Date
    03-10-2009
    Location
    chicago illinois
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: index/match formula ?

    yours works too. Im using yours. thanks again

  13. #13
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: index/match formula ?

    So then:

    =ROUNDDOWN(VLOOKUP(D34,Scale!$A$25:$E$26,5,0)/$C$7,0)

    this assumes you are always looking a C7.... if not, then

    =ROUNDDOWN(VLOOKUP(D34,Scale!$A$25:$E$26,5,0)/C7,0)

  14. #14
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: index/match formula ?

    Well, I thought you wanted to refer to the table (in case, of future changes to the stats or added machines, etc..).... hence, the Vlookup()....

  15. #15
    Forum Contributor
    Join Date
    03-10-2009
    Location
    chicago illinois
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: index/match formula ?

    I thought thats what I needed to do. I am going to refer to the table just for the reasons you stated so I will be using your formula.

  16. #16
    Forum Contributor
    Join Date
    03-10-2009
    Location
    chicago illinois
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: index/match formula ?

    the presses are shown in cells d34 - q34

  17. #17
    Forum Contributor
    Join Date
    03-10-2009
    Location
    chicago illinois
    MS-Off Ver
    Excel 2010
    Posts
    127

    Re: index/match formula ?

    right the larger quantities will run on gilboa and smaller runs on indigo

+ Reply to 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