+ Reply to Thread
Results 1 to 4 of 4

Using index to fill pattern

Hybrid View

  1. #1
    Registered User
    Join Date
    08-13-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    17

    Exclamation Using index to fill pattern

    Hello,

    I want to be able to fill this formula horizontelly with this pattern

    D5=IF(AND(Risks!N2=D3;Risks!O2=$D$1);Risks!A2;"")
    E5=IF(AND(Risks!N3=E3;Risks!O3=$D$1);Risks!A3;"")
    F5=IF(AND(Risks!N4=F3;Risks!O4=$D$1);Risks!A4;"")

    And so on creating
    G5=IF(AND(Risks!N5=G3;Risks!O5=$D$1);Risks!A5;"")

    I suspect i should use the index formula but I can't seem to get it right

    Could someone please take a look at this?

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Using index to fill pattern

    Hi,

    Try this in D5 and copy across:

    =IF(AND(INDEX(Risks!$N:$N,COLUMNS($D:E),1)=D3,INDEX(Risks!$O:$O,COLUMNS($D:E),1)=$D$1),INDEX(Risks!$A:$A,COLUMNS($D:E),1),"")

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    08-13-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Using index to fill pattern

    Quote Originally Posted by XOR LX View Post
    Hi,

    Try this in D5 and copy across:

    =IF(AND(INDEX(Risks!$N:$N,COLUMNS($D:E),1)=D3,INDEX(Risks!$O:$O,COLUMNS($D:E),1)=$D$1),INDEX(Risks!$A:$A,COLUMNS($D:E),1),"")

    Regards
    Thank you, this was the solution to my question!

    But unfortunely this I still have a problem. Should i open a new thread about this?

    If you look at my attached document I will try to explain what i want to achieve:

    In sheet "Risks" I want to write in which week and year a certain risk is in time.

    If i would enter 10 in week and 2013 in year in the Risk ID A row, I would want this to show up in the time schedule sheet under week 10 2013 displaying A in the risk row.
    Next i would enter week 15 and year 2013 in the risk id B row. This should then show up under week 15 2013 on the time schedule sheet.

    How can i achieve this?
    Attached Files Attached Files

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Using index to fill pattern

    Hi,

    You're welcome and yes, I believe you should open a new thread for this with an appropriate title.

    Regards

+ 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. Chart fill pattern in 2007
    By adriandbailey in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 03-17-2013, 12:07 PM
  2. [SOLVED] Fill down a number pattern?
    By brandonlaw in forum Excel General
    Replies: 3
    Last Post: 08-06-2012, 11:24 AM
  3. Replies: 5
    Last Post: 01-02-2012, 12:09 PM
  4. Pattern index
    By eavidor1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-05-2008, 09:34 AM

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