+ Reply to Thread
Results 1 to 11 of 11

concatenate IF ISBlank Help

  1. #1
    Forum Contributor
    Join Date
    11-01-2014
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    108

    concatenate IF ISBlank Help

    Hi

    I need to concatenate some information and i am a little stuck

    Based on diffiefrnt cells i need to produce the following (Bold Italic are information in the cells)

    Jane is 63 and bob is 65. Jane is retired and it is unknown when this occurred.

    I have attached a spreadsheet with the example.

    thanks for any help :-)
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,749

    Re: concatenate IF ISBlank Help

    how does the rest of the data look ?

    =B1&" is "&B2&" and "&C1&" is "&C2&". "&B1&" is "&B3
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Contributor
    Join Date
    11-01-2014
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    108

    Re: concatenate IF ISBlank Help

    i am sorry i should have been clearer in my question. I have got this far
    =CONCATENATE(B1," was ",B2,".",IF(B3="retired"," Jane was retired, but when is ",B4))

    Sometimes there is only one person, sometimes a couple. I need the sentence to deal with one person or add the second column in if there is data added

  4. #4
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: concatenate IF ISBlank Help

    You need to provide more examples of your data and expected outcomes. For example, can both people in the couple be retired and do you want the information about the retirement date of the second person in the couple as well?
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

  5. #5
    Forum Contributor
    Join Date
    11-01-2014
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    108

    Re: concatenate IF ISBlank Help

    i have attached more examples.
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: concatenate IF ISBlank Help

    Great, and what outcomes are you expecting for each of those examples?

  7. #7
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: concatenate IF ISBlank Help

    For example, for the first example data do you just want: "Jane is 63 and Bob is 66. Jane is retired and it is unknown when this occurred.", or do you want: "Jane is 63 and Bob is 66. Jane is retired and it is unknown when this occurred, Bob is employed.", or something else?

    For the second example do you just want: "Jane is 63 and Bob is 66. Jane is retired and it is unknown when this occurred.", or do you want: "Jane is 63 and Bob is 66. Jane & Bob are both retired and it is unknown when this occurred.", or something else?

    For the third example do you want: "Jane is 63 and Bob is 66. Both are employed", or do you want: "Jane is 63 and Bob is 66. Neither are retired.", or something else?

  8. #8
    Forum Contributor
    Join Date
    11-01-2014
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    108

    Re: concatenate IF ISBlank Help

    if there is only Jane and she is retired = Jane was 63. Jane is retired but it is unknown when.
    if there is only Bob and he is retired = Bob was 63. Bob is retired but it is unknown when.
    if there is Jane & bob retired = Jane was 63 and Bob 66. Bob is retired but it is unknown when.
    if there is Jane & bob and both retired = Jane was 63 and Bob 66. Jane and bob are retired but it is unknown when.

    I need the sentence to tell me the age of C1 & C2 and if they are retired.
    Last edited by KClem; 07-07-2016 at 07:33 PM.

  9. #9
    Forum Contributor
    Join Date
    11-01-2014
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    108

    Re: concatenate IF ISBlank Help

    usually the date is unknown, i have never had one where i know what date they retired, but if there was a date in the both then it would 'they retired on ddmmyyyy'

  10. #10
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: concatenate IF ISBlank Help

    Ok, it's pretty complicated, but it seems to work on the examples I have from you and some examples I have created:
    =IF(B2="","",B2&" is "&B3)&IF(AND(B2<>"",C2<>"")," and ","")&IF(C2="","",C2&" is "&C3)&". "&IF(AND(B4<>"Retired",C4<>"Retired"),"",IF(AND(B4="Retired",C4="Retired"),IF(AND(OR(B5="Unknown",B5=""),OR(C5="Unknown",C5=""))," Both "&B2&" and "&C2&" are "&"retired but it is unknown when this occurred",B2&IF(OR(B5="Unknown",B5="")," is "&"retired but it is unknown when this occurred"," retired on "&TEXT(B5,"DD MMM YYYY"))&" and "&C2&IF(OR(C5="Unknown",C5="")," is "&"retired but it is unknown when this occurred"," retired on "&TEXT(C5,"DD MMM YYYY"))),IF(B4="Retired",B2&IF(OR(B5="Unknown",B5="")," is "&"retired but it is unknown when this occurred"," retired on "&TEXT(B5,"DD MMM YYYY")),C2&IF(OR(C5="Unknown",C5="")," is "&"retired but it is unknown when this occurred"," retired on "&TEXT(C5,"DD MMM YYYY"))))&".")

  11. #11
    Forum Contributor
    Join Date
    11-01-2014
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    108

    Re: concatenate IF ISBlank Help

    That's great, thanks

+ 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. Concatenate with Double Info in Concatenate Cell
    By MRoz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-10-2015, 02:07 PM
  2. Replies: 5
    Last Post: 08-28-2014, 06:01 PM
  3. [SOLVED] IF formula not working =IF(NOT(ISBLANK(M3)),"",IF(ISBLANK(L3),"",TODAY()-L3))
    By amthyst826 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-06-2014, 02:37 PM
  4. Help with ISBLANK function referring to a cell with another ISBLANK formula
    By camdameron in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-23-2011, 12:45 PM
  5. Replies: 2
    Last Post: 04-12-2010, 12:35 PM
  6. [SOLVED] If(ISBLANK)
    By Bill R in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  7. [SOLVED] [SOLVED] I know how to concatenate ,can one de-concatenate to split date?
    By QUICK BOOKS PROBLEM- in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-26-2005, 01:05 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