+ Reply to Thread
Results 1 to 5 of 5

Syntax required to merge two formulas

  1. #1
    Forum Contributor
    Join Date
    02-09-2004
    Location
    Cardiff - Wales - UK
    MS-Off Ver
    2013
    Posts
    475

    Question Syntax required to merge two formulas

    Hi,

    Can any advise me of the syntax required to merge these two formulas

    Please Login or Register  to view this content.
    =IF('InPut'!A2="","",'InPut'!A2)
    Please Login or Register  to view this content.


    Please Login or Register  to view this content.
    =INDIRECT("'InPut'!A"&ROW(A2))
    Please Login or Register  to view this content.


    Any assistance would be greatly appreciated


    Many thanks in advance

    Regards
    Rob

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,458

    Re: Syntax required to merge two formulas

    This maybe:

    =IF(INDIRECT("'InPut'!A"&ROW(A2))="","",INDIRECT("'InPut'!A"&ROW(A2)))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Syntax required to merge two formulas

    Hi,

    You could use
    =IF(INDIRECT("'InPut'!A"&ROW(A2))="","",INDIRECT("'InPut'!A"&ROW(A2)))
    or the non-volatile
    =IF(INDEX('InPut'!A:A,ROW(A2))="","",INDEX('InPut'!A:A,ROW(A2)))
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  4. #4
    Forum Contributor
    Join Date
    02-09-2004
    Location
    Cardiff - Wales - UK
    MS-Off Ver
    2013
    Posts
    475

    Re: Syntax required to merge two formulas

    AliGW & lnitwit,

    many thanks for your very fast responses its just what I required

    Thanks again

    Regards

    Rob

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,458

    Re: Syntax required to merge two formulas

    You're welcome!

+ 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: 07-15-2016, 12:39 PM
  2. Url As String. Need as Range. Unsure of syntax required
    By cossie2k in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-01-2016, 10:16 AM
  3. Mail Merge in a different way. Urgent Help Required
    By Nagato88 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-25-2014, 10:48 AM
  4. Macro syntax help required. Thank you.
    By Islandplans in forum Excel General
    Replies: 2
    Last Post: 12-10-2014, 04:07 PM
  5. Replies: 4
    Last Post: 10-22-2012, 11:01 AM
  6. Mail merge help required
    By sajidbagi in forum Excel General
    Replies: 0
    Last Post: 01-21-2010, 03:47 AM
  7. double quotes syntax required
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-19-2006, 02:00 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