+ Reply to Thread
Results 1 to 3 of 3

Expanding a function

  1. #1
    Registered User
    Join Date
    11-24-2015
    Location
    Poland
    MS-Off Ver
    10
    Posts
    75

    Expanding a function

    Hello,

    I cannot expand this function, so that it looks for values in G if E is blank, and I if G is blank:

    =IF(IF(Sheet1!A1="",Sheet1!C1,Sheet1!A1)="",Sheet1!E1,IF(Sheet1!A1="",Sheet1!C1,Sheet1!A1))

    It just looks for the first non-blank cell in Sheet1 (A,C,E,G,I)

    Anyone?
    Last edited by moomphas; 03-30-2016 at 03:20 AM.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,017

    Re: Expanding a function

    =if(a1<>"",a1,if(c1<>"",c1,if(e1<>"",e1,if(g1<>"",g1,i1))))
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    11-24-2015
    Location
    Poland
    MS-Off Ver
    10
    Posts
    75

    Re: Expanding a function

    Awesome, mate! Thanks a ton!

+ 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. Expanding VBA code for greater retrieval function
    By Saeber4777 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-23-2015, 01:37 PM
  2. expanding dates
    By dar3d3vil in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2014, 12:08 PM
  3. Replies: 3
    Last Post: 03-08-2013, 01:54 PM
  4. Expanding Worksheet Not Sure if possible
    By Mooseman60 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 12-08-2010, 08:17 AM
  5. Expanding a Legend
    By cybrephoenix in forum Excel General
    Replies: 2
    Last Post: 10-15-2010, 02:31 PM
  6. Expanding list
    By Rawb77 in forum Excel General
    Replies: 2
    Last Post: 11-17-2009, 12:05 PM
  7. [SOLVED] Expanding and Collapsing
    By QPapillon in forum Excel General
    Replies: 2
    Last Post: 03-31-2006, 04:45 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