+ Reply to Thread
Results 1 to 4 of 4

Need help with IF equation.

  1. #1
    Forum Contributor
    Join Date
    09-11-2012
    Location
    minot, north dakota
    MS-Off Ver
    Excel 2010
    Posts
    118

    Need help with IF equation.

    I have a drop down for 3 service companies and they have different chemicals that all do the same thing so I have to have the right trade name for the chemical used based upon the service company.
    Service company will be selected from drop down D11
    I have a list of chemical names (##) for each company.
    If you have company A the chemical will auto select from AB22:AD31
    The equation needs to be M22-M31 the generic chemical name is P22:P31

    Any help with this equation would be greatly appreciated.


    I will attach file in a second

  2. #2
    Forum Contributor
    Join Date
    09-11-2012
    Location
    minot, north dakota
    MS-Off Ver
    Excel 2010
    Posts
    118

    Re: Need help with IF equation.

    Attachment included
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    09-11-2012
    Location
    minot, north dakota
    MS-Off Ver
    Excel 2010
    Posts
    118

    Re: Need help with IF equation.

    I know its possible with a few If statements I just know how it do it

  4. #4
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    154

    Re: Need help with IF equation.

    I'm not 100% sure of what you are doing, but I wrote this:

    =IF(D11="A",INDIRECT(CONCATENATE("AB",RANDBETWEEN(22,31))),IF(D11="B",INDIRECT(CONCATENATE("AC",RANDBETWEEN(22,31))),IF(D11="C",INDIRECT(CONCATENATE("AD",RANDBETWEEN(22,31))),"ERROR")))

+ 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. Replies: 2
    Last Post: 11-03-2014, 08:04 PM
  2. [SOLVED] dragging an equation but only changing one part of the equation
    By mufan in forum Excel General
    Replies: 7
    Last Post: 04-12-2012, 02:48 PM
  3. Replies: 3
    Last Post: 04-09-2012, 01:36 PM
  4. Replies: 4
    Last Post: 02-02-2012, 10:11 PM
  5. Replies: 3
    Last Post: 03-06-2011, 01:38 PM
  6. [SOLVED] Equation Editor- problem when editing an equation
    By Gaby L. in forum Excel General
    Replies: 0
    Last Post: 09-27-2005, 05:05 PM
  7. excel equation (user defined equation)
    By excel_student in forum Excel General
    Replies: 0
    Last Post: 03-10-2005, 03:59 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