Closed Thread
Results 1 to 2 of 2

multiple if(ands 's

  1. #1
    Registered User
    Join Date
    05-29-2012
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    31

    multiple if(ands 's

    Hello Everyone,

    Could someone please help me with an equation or at least give me the name of what I am looking for?

    I am trying have excel give a certain amount when two conditions are met. For example When "A" is Present in one cell and "A" is present in another cell, 100 shows up. When "A" is present in one cell, and "B" is present in another cell, a percentage of that number comes up. I have already figure out the formula ...

    =IF(AND(E15="A",G9="A"),G21,IF(AND(E15="A",G9="B"),G21/0.9235

    This works except my entries are limited and I have to input about 70 different combinations. Does anyone have a better shortcut or tell me where I should be looking?
    My raw Data :
    So to Recap : here is what I need to do

    A = 200 A
    B = 300 B
    C........ C
    D........ D
    E........ E
    F........ F
    G........ G
    H........ H
    I......... I
    J........ J
    Percentage Changes
    0.923566879
    0.744225834
    0.645400593
    0.549242424
    0.517857143
    0.460805085
    0.389087657
    0.38107753
    0.305488255

    here is what I need to do
    A & A = 200
    A & B = (200/.923566879)
    A & C = (200/.744225834)
    A & D = (200/.645400593)
    And So on...


    When I finish with the A's I move on to the B's

    B & A = (300-(1-(300/.923566879))
    B & B = 300
    B & C = (300/.65400593)
    and so on..
    and then the c's

    C&A = 400-(1-(400/.923566879))
    C&B = 400 - (1- (400/.744225834)
    C&C = 400
    C&D = 400/.645400593

    and so on until all the combinations are filled



    Anyone know a better way than What I did Above? Or at least What name of equations I should be looking for to find out how to do it for myself? I really appreciate any help.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: multiple if(ands 's

    Fansoffloyd,

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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