+ Reply to Thread
Results 1 to 10 of 10

IF and OFFSET Combination

  1. #1
    Registered User
    Join Date
    10-03-2019
    Location
    Edinburgh
    MS-Off Ver
    2016
    Posts
    5

    Smile IF and OFFSET Combination

    Hi all,
    Hoping someone can help. I have scanned the forum, and while there are similar threads I can't quite figure this out on my own.
    Start from cell B8 on the Creative Design&Media Tech tab, I need this to refer the data in the AppData tab, column K, and if the data matches cell reference A6 on the Creative tab, then the information is pulled through and offset, or transposed, vertically as opposed to horizontally. With each relevant heading, ie, Question 1, Question 2, etc.

    The OFFSET is not the problem, its combining it with IF, or a VLOOKUP, that I am struggling with. As I will be copying this page on to the other tabs and cell A6 will change, corresponding to the name of each tab.

    File attached.

    Straight forward in theory, just eluding my understanding at present!


    Best,

    Martin
    Attached Files Attached Files
    Last edited by Martin1984; 10-21-2019 at 07:46 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: IF and OFFSET Combination

    You've lost me. What do you expect to see? Where do you expect to see it?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    10-03-2019
    Location
    Edinburgh
    MS-Off Ver
    2016
    Posts
    5

    Re: IF and OFFSET Combination

    Thanks for the reply Glenn.

    I expect to see the data, on the 'AppData' tab (raw data), pull through to the Creative Design tab, cell B8:31 - with the corresponding information from Question 1, Question 2 on row 1 of 'AppData' etc.
    But it will only pull through the relevant rows, and OFFSET, when column K on the AppData tab matches cell A6 on the Creative Design tab.

    Hope that helps to explain.
    Martin

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: IF and OFFSET Combination

    I'm still not clear what columns C onwards of CD&MT are supposed to contain. For testing, I created a dropdown box in A6, allowing t=you to select which response you're after... and then used thisn in B8, copied down:

    =INDEX(AppData!$A$2:$AB$4,MATCH($A$6,AppData!$K$2:$K$4,0),ROWS($1:1))
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-03-2019
    Location
    Edinburgh
    MS-Off Ver
    2016
    Posts
    5

    Re: IF and OFFSET Combination

    Thanks again Glenn.

    Column C, and onward, refers to each row from 2 and downwards on the AppData tab. This AppData tab will eventually be filled with up to two hundred rows of applicant data, across different 'sectors'
    which will be details in Question 11, column K.
    So the data in row 2 AppData, OFFSETS to column B CD&MT tab.
    Row 3 to column C, Row 4 to column d and so on.
    My issue comes in when I only want Creative Design & Media Tech rows to pull through, from AppData, to the CD&MT tab. Determined from column K (question 11) in AppData.
    The drop down option would be great, however I should have explained, that I need Creative Design and then the Digital Health on separate sheets (there are 9 in total). Each column, B to AE, has a scoring drop down
    at the top and this need to remain for each Applicant.

    Apologies that I am not explaining this concisely!
    Best,
    Martin

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: IF and OFFSET Combination

    Still not clear. Are you saying that there will be several rows in column K called CD&MT and you want all such rows pulled into the CD&MT sheet? If so, a different approach is needed.

  7. #7
    Registered User
    Join Date
    10-03-2019
    Location
    Edinburgh
    MS-Off Ver
    2016
    Posts
    5

    Re: IF and OFFSET Combination

    That's right Glenn, sorry. Each 'sector' will appear multiple times, and I only want those rows with that sector in column K to be identified and pulled through.
    So for Creative Design tab, only those with Creative Design in column K will appear on the relevant sheet/tab.
    Thanks,
    Martin

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: IF and OFFSET Combination

    Finally... I think we're there.

    =IFERROR(INDEX(AppData!$A:$AB,AGGREGATE(15,6,ROW(AppData!$K$2:$K$200)/(AppData!$K$2:$K$200=$A$6),COLUMNS($B:B)),ROWS($1:1)),"")

    I really would question the necessity for multiple sheets, however. You will merely increase the file size for no material advantage.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    10-03-2019
    Location
    Edinburgh
    MS-Off Ver
    2016
    Posts
    5

    Re: IF and OFFSET Combination

    Brilliant! Thank you so much Glenn.
    And absolutely, I would prefer to keep it on one sheet....as I mentioned though, I need to keep the scoring in the first four rows on sheet CD&MT static for each individual applicant. So if start with Creative Design, update my scoring, and then change the drop down to Digital Health - my data will change, however the scoring will not be relevant to that particular applicant in the column.

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: IF and OFFSET Combination

    Then simply remove the data validation from a6 and make it static... and don't blame me if the file gets big!!

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. [SOLVED] dynamic range, counta and offset combination
    By chomo in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-13-2016, 02:53 AM
  2. [SOLVED] Offset in combination with match and Vlookup
    By Wiebe in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 04-25-2014, 05:24 AM
  3. Combination of Sum and Offset
    By Mazdak111 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2014, 11:43 PM
  4. Combination of OFFSET & VLOOKUP formula
    By Polymnia in forum Excel General
    Replies: 7
    Last Post: 08-30-2011, 08:48 AM
  5. Replies: 3
    Last Post: 09-23-2009, 06:27 AM
  6. Match Offset combination
    By BRISBANEBOB in forum Excel General
    Replies: 4
    Last Post: 04-06-2009, 02:09 AM
  7. Replies: 4
    Last Post: 03-31-2008, 12:28 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