+ Reply to Thread
Results 1 to 4 of 4

IF last cell is blank, then last non blank cell

  1. #1
    Forum Contributor
    Join Date
    07-17-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel for O365
    Posts
    197

    IF last cell is blank, then last non blank cell

    Hi all, can anyone help me with this.

    I've currently got in cell B1 copied across Row 1.

    =IF(B2<>"",B2&C2,A2&C2)

    I need it to say...

    =IF(B2<>,"",B2&C2,LAST NON BLANK CELL IN ROW&C2


    Thanks in advance.

    Jason
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: IF last cell is blank, then last non blank cell

    I tink this is what you are trying to do - put this formula in B1:

    =LOOKUP("zzz",$B2:B2)&B3

    then copy across.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    07-17-2013
    Location
    Birmingham, England
    MS-Off Ver
    Excel for O365
    Posts
    197

    Re: IF last cell is blank, then last non blank cell

    Quote Originally Posted by Pete_UK View Post
    I tink this is what you are trying to do - put this formula in B1:

    =LOOKUP("zzz",$B2:B2)&B3

    then copy across.

    Hope this helps.

    Pete
    Yeah that works brilliantly. Thanks Pete!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: IF last cell is blank, then last non blank cell

    You're welcome - thanks for feeding back.

    Pete

+ 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: 3
    Last Post: 01-23-2014, 12:19 PM
  2. [SOLVED] Cell referenced in formula has no information displayed (shows blank), return blank cell
    By nunayobinezz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-07-2013, 04:51 PM
  3. If cell blank OR another cell blank then show blank, if not display value
    By stevop622 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-09-2013, 04:07 AM
  4. [SOLVED] 1 or blank cell pulls exact text or leaves cell blank
    By sharpmel in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-30-2012, 12:20 PM
  5. [SOLVED] If one cell contains #, & other cell is blank, show message & require blank be resolved
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 06-19-2012, 02:23 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