admin管理员组文章数量:1417096
Tab 1
Tab 2
I'm looking to autofill tab 2 (named Barrels) based off of information from tab 1 (named Master Entries).
If the division (tab 1, column e), matches the division in tab 2 (column B) AND the event is marked (tab 1, column F - J), fill the Rider Name and Horse Name (from tab 1 columns A - C to tab 2 columns B - D).
If that criteria does not match, move to the next row on tab 2.
I have this formula;
=IFERROR(INDEX('Master Entries'!A3:A250, SMALL(IF('Master Entries'!E3:E250="Novice Sr", ROW('Master Entries'!A3:A250)-ROW('Master Entries'!A3)+1), ROW(A1))), "")
but it only allows for the one criteria.
Is there a way to add the secondary criteria?
Tab 1
Tab 2
I'm looking to autofill tab 2 (named Barrels) based off of information from tab 1 (named Master Entries).
If the division (tab 1, column e), matches the division in tab 2 (column B) AND the event is marked (tab 1, column F - J), fill the Rider Name and Horse Name (from tab 1 columns A - C to tab 2 columns B - D).
If that criteria does not match, move to the next row on tab 2.
I have this formula;
=IFERROR(INDEX('Master Entries'!A3:A250, SMALL(IF('Master Entries'!E3:E250="Novice Sr", ROW('Master Entries'!A3:A250)-ROW('Master Entries'!A3)+1), ROW(A1))), "")
but it only allows for the one criteria.
Is there a way to add the secondary criteria?
2 Answers
Reset to default 0You need to add another condition to the first part of your IF
formula, so instead of
'Master Entries'!E3:E250="Novice Sr"
You need something like
('Master Entries'!E3:E250="Novice Sr")*('Master Entries'!F3:F250="x")
=IFERROR(
INDEX($A$2:$A$249,
SMALL(
IF(
($C$2:$C$249="Novice")*($D$2:$D$249="x"),
ROW($A$2:$A$249)-ROW($A$2)+1),
ROW(A1))), "")
Assuming that on the 'Barrels' sheet 'Novice Sr' is in cell B1 and the number 1 is in cell A3 paste the following into cell B3 then copy over to cell D3 and then, while B3:D3 are still selected, copy down as until you see blanks:
=IFERROR(INDEX('Master Entries'!A$3:A$250, AGGREGATE(15,6,(ROW('Master Entries'!A$3:A$250)-ROW('Master Entries'!A$3)+1)/('Master Entries'!$E$3:$E$250=$B$1)/('Master Entries'!$F$3:$F$250="x"), ROW(A1))), "")
Let us know if you have any questions.
本文标签: excelNeed sheet 2 to autofill based off of criteria from sheet 1Stack Overflow
版权声明:本文标题:excel - Need sheet 2 to autofill based off of criteria from sheet 1 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745254702a2650028.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论