+ Reply to Thread
Results 1 to 12 of 12

Matched 2 sets of coluumns then multiply 2 others

  1. #1
    Registered User
    Join Date
    11-07-2015
    Location
    Denver
    MS-Off Ver
    2016
    Posts
    10

    Matched 2 sets of coluumns then multiply 2 others

    All data is contained on one sheet. Here is what I am looking for.

    I need Column A to look for and match N2 or R2 or Z2

    I then need to match column E to column M

    I then need to multiply column d to the cell in N R or Z from step 1.

    I appreciate any help.

  2. #2
    Registered User
    Join Date
    11-07-2015
    Location
    Denver
    MS-Off Ver
    2016
    Posts
    10

    Re: Matched 2 sets of coluumns then multiply 2 others

    This is what I am trying, but it fails

    =IF(AND (A2:A415=N2 or R2 or Z2 IF(E2:E301=M3:M38) D2:D301*N3:N38 or R3:R38 or Z3:Z38))

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Matched 2 sets of coluumns then multiply 2 others

    Hi there... and welcome to the Excel Forum. Please attach a sample workbook. Make sure there is enough data to demonstrate your need. Make sure your desired results are shown, mock them up manually if necessary. Remember to remove ALL confidential information first!!!

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    The paperclip icon
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    11-07-2015
    Location
    Denver
    MS-Off Ver
    2016
    Posts
    10

    Re: Matched 2 sets of coluumns then multiply 2 others

    I have attached a snippet of my sheet.

    What I need is E to match the corresponding team in I, then A needs to match J, N, V or Z. Then D needs to add or subtract the corresponding percentage from D.

    I want to run this in column G.

    So for row one, the calculation would be D2 calculated against J33.

    I know this is a bit convoluted. Again, thanks in advance for the help.
    Attached Files Attached Files

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Matched 2 sets of coluumns then multiply 2 others

    This formula in column G will take you this far.
    What I need is E to match the corresponding team in I, then A needs to match J, N, V or Z.
    after that I do not understand your meaning
    Then D needs to add or subtract the corresponding percentage from D. .....
    So for row one, the calculation would be D2 calculated against J33.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Also check the headers in row 1 or your data. At least one of them has trailing spaces.
    Last edited by FlameRetired; 11-08-2015 at 09:36 PM.
    Dave

  6. #6
    Registered User
    Join Date
    11-07-2015
    Location
    Denver
    MS-Off Ver
    2016
    Posts
    10

    Re: Matched 2 sets of coluumns then multiply 2 others

    A huge thanks upfront! Column D is the projection. Column J represents the percentage to be added or subtracted from the projection in D.

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Matched 2 sets of coluumns then multiply 2 others

    If I understand correctly change the above formula to
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Are we getting close?

  8. #8
    Registered User
    Join Date
    11-07-2015
    Location
    Denver
    MS-Off Ver
    2016
    Posts
    10

    Re: Matched 2 sets of coluumns then multiply 2 others

    Very close. Formula is not seeing WR2 which is N. Not sure why. Also, D is my projection, so when I get a match in J, N V or Z, I need to add or subtract that percentage from the corresponding number in D.

    So the final calculation for row 1 would be 26.525 + 48.5% Negative percentages would be D - the corresponding percentage.

    I cleaned up the spaces.

  9. #9
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Matched 2 sets of coluumns then multiply 2 others

    Try this formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    It returns 39.389625 for 26.525 in row 1. Since WR1 / SF intersect at 0.485 a 48.5% increase should be 39.389625. Likewise at row 5 column D is 19.55. WR1 / OAK intersect at -0.127 .... a 12.7% decrease and that should result in 17.06715 .... which it does.

    so when I get a match in J, N V or Z, I need to add or subtract that percentage from the corresponding number in D
    I took the signs of those numbers to tell us whether to add or subtract. Have I been reading the data table wrong? Are we to understand that positive numbers are decreases and negatives increases?

    Formula is not seeing WR2 which is N. Not sure why.
    Check the data in column A as well for leading / trailing / internal spaces. Since I don't have any WR2s in column A of the upload I cannot say. However when I change some of the items in column A to WR2 the formula works at my end.

  10. #10
    Registered User
    Join Date
    11-07-2015
    Location
    Denver
    MS-Off Ver
    2016
    Posts
    10

    Re: Matched 2 sets of coluumns then multiply 2 others

    The data from columns J, N, V & Z represent the percentages above and below average for yards. So a negative indicates they give up that percentage fewer yards, positive is percentage above average for yards.

    Again, I can't tell you how much I appreciate your help.

    I had spaces, WR2 works as expected after I cleaned it up.

  11. #11
    Registered User
    Join Date
    11-07-2015
    Location
    Denver
    MS-Off Ver
    2016
    Posts
    10

    Re: Matched 2 sets of coluumns then multiply 2 others

    And I just tested, it works perfectly!! Thank you very much!

  12. #12
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Matched 2 sets of coluumns then multiply 2 others

    Glad to here it, and you're welcome.

+ 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. [SOLVED] Need to multiply a VLOOKUP value then divide that value, then multiply that value
    By debbiemez in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-27-2015, 04:57 PM
  2. Replies: 11
    Last Post: 03-27-2014, 07:55 PM
  3. Replies: 4
    Last Post: 01-10-2014, 09:32 AM
  4. Multiply cells in two worksheets conidtion is matched and use of looping
    By tsiddiq23 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-16-2013, 01:55 AM
  5. If criteria match, multiply then sum across multiply worksheets
    By ciayers in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-09-2013, 02:20 PM
  6. [SOLVED] Multiply, Divide and Then Multiply in a cell
    By Brownie2576 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-22-2012, 08:57 PM
  7. Need to Insert down between sets then border sets
    By iturnrocks in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-10-2008, 04:10 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