Results 1 to 3 of 3

Concatenating with an "IF" Statement

Threaded View

  1. #1
    Registered User
    Join Date
    04-06-2016
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    365
    Posts
    32

    Question Concatenating with an "IF" Statement

    I have a spreadsheet containing to/from text messages between a suspect and a victim. I am able to concatenate several of the columns to create a "description" column. One of the conditions in the description needs to be an IF statement: IF(B2="Incoming","from","to")


    The string would be something like this: =CONCATENATE(B2,"text message", " ", [conditional statement to or from],"victim")

    I think I understand that it is not possible to put an IF statement in the middle of another string, but I don't know how to place it at the beginning and then do the concatenation part.

    Any suggestions would be appreciated.

    Diane
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. "Object required" error upon "Exit Function" statement
    By 6StringJazzer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-24-2018, 06:40 PM
  2. [SOLVED] IF Statement Evaluates as "TRUE" but Returns "FALSE" Value (Excel 2007)
    By Simcik in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-11-2014, 12:43 PM
  3. Replies: 12
    Last Post: 06-12-2014, 02:11 PM
  4. [SOLVED] Combine "=IF" and "=HOUR" statement for cell formula
    By chriswhite1982 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-19-2013, 02:42 PM
  5. Replies: 10
    Last Post: 09-22-2011, 07:22 AM
  6. Replies: 3
    Last Post: 12-14-2006, 01:36 PM
  7. [SOLVED] concatenating "00"&"00"&"01" without losing the zero values
    By kier in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-28-2005, 10:05 PM

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