+ Reply to Thread
Results 1 to 10 of 10

Combined if statements

  1. #1
    Registered User
    Join Date
    07-19-2013
    Location
    houston
    MS-Off Ver
    Excel 2010
    Posts
    56

    Combined if statements

    I have a spreadsheet that i want to create a part number that contains 4 parts. Ex 1rl9. The cell i want this to be in is blank. What formula do i use to make the second character in the blank cell = r?

  2. #2
    Forum Contributor yay_excel's Avatar
    Join Date
    08-12-2011
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    190

    Re: Combined if statements

    I'm not sure exactly what you're asking.

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Combined if statements

    Do the other parts come from different cells? If so you could use a concatenate formula like =A1&"r"&B1&C1 for example. If most of it is in another cell like 1l9 you could use a left and right formula and insert the item in the middle like this... =LEFT(A1,1)&"r"&RIGHT(A1,2)
    without more specifics it is difficult to give you more.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    07-19-2013
    Location
    houston
    MS-Off Ver
    Excel 2010
    Posts
    56

    Re: Combined if statements

    every part comes from a different cell. some are referencing combo boxes, others are just regular cells. Basically, in a blank cell i want to combine 4 parts and they have to be in the proper sequence.

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Combined if statements

    Not sure if your reply means that the first part of my reply (using a concatenate) then wouldn't work.

  6. #6
    Registered User
    Join Date
    07-19-2013
    Location
    houston
    MS-Off Ver
    Excel 2010
    Posts
    56

    Re: Combined if statements

    sorry, i know that there isn't much info. I attached a screen shot. i want to pull from from B1, B5, B6, and B7 to show in cell B10. i have linked the cells for the combo boxes so that isn't apic.jpgn issue.

  7. #7
    Forum Contributor yay_excel's Avatar
    Join Date
    08-12-2011
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    190

    Re: Combined if statements

    The ampersand (&) concatenates data. If you know how to pull each individual piece of data from your worksheet, use & to link it together into one string.

  8. #8
    Forum Contributor yay_excel's Avatar
    Join Date
    08-12-2011
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    190

    Re: Combined if statements

    To make the string contain an "r" without referencing a cell, use "r" in the formula, with the quotation marks.

  9. #9
    Registered User
    Join Date
    07-19-2013
    Location
    houston
    MS-Off Ver
    Excel 2010
    Posts
    56

    Re: Combined if statements

    Thanks Everyone! Seems like the best way is to get the designator i want it a different cell and use the concatenate method to combine them all.

  10. #10
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Combined if statements

    Could've sworn that is what I wrote in post #3. :roll eyes:

    EDIT: BTW, thanks for the reputation bump DCRAIG.

+ 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] VLOOKUP and IF Statements combined
    By sgerard21 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-06-2013, 03:12 PM
  2. combined (nested?) IF statements
    By tjl in forum Excel General
    Replies: 1
    Last Post: 06-27-2012, 01:14 PM
  3. Revenue allocation using combined/Nested IF statements
    By Irfan123 in forum Excel General
    Replies: 9
    Last Post: 07-28-2008, 09:29 AM
  4. Add multiple IF statements to a combined string of cells
    By littledobby in forum Excel General
    Replies: 1
    Last Post: 07-17-2008, 11:31 PM
  5. average, min, max combined with if statements
    By kevmac27 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-29-2008, 06:04 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