+ Reply to Thread
Results 1 to 3 of 3

Cell Formula (ifferrror, If, Index, Match transfer into VBA

  1. #1
    Registered User
    Join Date
    08-15-2016
    Location
    germany
    MS-Off Ver
    2013+365
    Posts
    2

    Cell Formula (ifferrror, If, Index, Match transfer into VBA

    Hi,

    can you help with transfer a formula from a cell into a VBA?

    =IFERROR(IF($F25="";"";INDEX(Price!$D$2:$BI$131;MATCH(D25;Price!$B$2:$B$131;0);MATCH(F27;Price!$D$1:$BI$1;0)));"")

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,972

    Re: Cell Formula (ifferrror, If, Index, Match transfer into VBA

    If the formula works in the cell, try doubling up all the double quotes. That is, "" becomes """".
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    08-15-2016
    Location
    germany
    MS-Off Ver
    2013+365
    Posts
    2

    Re: Cell Formula (ifferrror, If, Index, Match transfer into VBA

    Thanks, it works.

+ 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: 2
    Last Post: 01-22-2016, 06:30 AM
  2. Find first available cell in row 1 and apply index match formula
    By antonio32 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2014, 04:53 AM
  3. Replies: 4
    Last Post: 01-13-2014, 04:16 AM
  4. SUMIF, Index and Match Formula. Return Cell value
    By FLani in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-04-2014, 02:43 AM
  5. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  6. Formula for cell contents using 'index' and 'match'?
    By boostin06evo in forum Excel General
    Replies: 0
    Last Post: 08-01-2011, 03:28 PM
  7. Index-Match formula tied to Cell value
    By Jogier505 in forum Excel General
    Replies: 3
    Last Post: 12-28-2009, 03:49 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