Looking for formula (non-array preferred) to look in F2:H36 and populate D2:D827 (desired output)if condition is met. To populate D2:D827, the condition to use is in B2 (B2=25).
Condition: In B2, Total Sales value is 25 (B2=25). Total Sales value (condition in B2) is manually entered. For the example in this sample file, 25 is manually entered in B2.
To populate D2:D827, the formula will look into column H for week 1 and return all week 1 dates 25 times (condition in B2 =25). For week 2 dates, the formula will look into column H and and return all week 2 dates 25 times (condition in B2 =25) right where week 1 dates ends and continue this process until the last week is populated.
See sample file.
Thanks.
Bookmarks