excel - INDEX, COUNTA? Repeat row value N times for every nonblank cell in criteria -


questions:

  • i can't quite figure out function needed in order list each vegetable in single column (in table 2 col c) same number of times (weeks) harvested in table 1 (col c-e)? use index other function?

  • for each time vegetable repeated in row in table 2, how can match each repetition each of harvest weeks (1 per row) in neighboring column in table 2? (see table 2, col d)

    table 1

           b    c     d     e   crop  unit  aug8  aug15 aug22 1 corn  ear   10           2 onion lb    15             3 beets lb    5     5     5 

table 2

            b    c     d                 date1 date2 crop  harvest date       1             corn  aug8     2             onion aug8     3             beets aug8     4             beets aug15     5             beets aug22 

thanks in advance help.


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -