Results 1 to 4 of 4

Formula using pattern

Threaded View

  1. #1
    Registered User
    Join Date
    04-02-2013
    Location
    Brasil
    MS-Off Ver
    Office 2016 Professional Plus
    Posts
    4

    Formula using pattern

    Hey guys!

    I need a formula that skips a given number of columns when referencing the cells I need. Let's consider the following formula:

    Formula: copy to clipboard
    =IF(B2=Anotados!C3;Anotados!D15;0)


    This is the base formula I need. The next cell must be:

    Formula: copy to clipboard
    =IF(C2=Anotados!G3;Anotados!H15;0)


    and the next one:

    Formula: copy to clipboard
    =IF(D2=Anotados!K3;Anotados!L15;0)


    and so on...

    But, obviously, if I click and drag the formula doesn't follow this pattern, and I need it to be applied to multiple cells in a row, otherwise I could do it manually instead. That's when I came across the INDIRECT function that I saw here: excel.tips.net/T003067_Copying_Formulas_using_a_Pattern.html
    I understand that I should use the function COLUMN instead of ROW that he used in the example, but I have no idea how to write the formula combining the INDIRECT function with IF without getting an error

    Does anyone have a clue about that?
    Last edited by Alex Braga; 01-15-2019 at 01:18 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Continuing a pattern on autofil without pattern re-starting
    By jakeyoung111 in forum Excel General
    Replies: 4
    Last Post: 06-22-2016, 11:11 AM
  2. [SOLVED] Lookup and return rows based on pattern start and pattern end
    By JDI in forum Excel General
    Replies: 18
    Last Post: 11-16-2014, 11:44 PM
  3. [SOLVED] formula with a pattern - how to?
    By mbeekvelt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-23-2014, 04:29 AM
  4. Copy down hypertext cell range pattern & cell reference formula pattern
    By Underexcelling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-10-2014, 03:23 AM
  5. [SOLVED] IF formula pattern
    By blaugrana9 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-28-2013, 09:33 AM
  6. [SOLVED] Pattern Formula?
    By sixwest in forum Excel General
    Replies: 3
    Last Post: 09-13-2005, 12: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