excel - How to count rows and return the data from a ce -


i have spreadsheet dates listed in column a, , business day or weekend designation in column b. in column c, i'd key transit day number (shown entered in c13), , have formula count down number of rows labeled "business day", , return date in cell in column d beside transit day. (shown in d13).

also in rows right, if transit day entered, i'd count backwards sheet , returns date.

 carrier transit time performance check                                        check setting ship date delivery date                         ship date   type           transit days     arrival date   delivery date   type          transit days   date ship on 3/2/2014    weekend                                        3/2/2014        weekend                 3/3/2014    business day                                   3/3/2014        business day                 3/4/2014    business day                                   3/4/2014        business day                 3/5/2014    business day                                   3/5/2014        business day                 3/6/2014    business day                                   3/6/2014        business day                 3/7/2014    business day                                   3/7/2014        business day                 3/8/2014    weekend                                        3/8/2014        weekend                 3/9/2014    weekend                                        3/9/2014        weekend                 3/10/2014   business day                                   3/10/2014       business day                 3/11/2014   business day        6           3/19/2014      3/11/2014       business day        6        3/3/2014    3/12/2014   business day                                   3/12/2014       business day                 3/13/2014   business day                                   3/13/2014       business day                 3/14/2014   business day                                   3/14/2014       business day                 3/15/2014   weekend                                        3/15/2014       weekend                 3/16/2014   weekend                                        3/16/2014       weekend                 3/17/2014   business day                                   3/17/2014       business day                 3/18/2014   business day                                   3/18/2014       business day                 3/19/2014   business day                                   3/19/2014       business day 

workday function give required date without using business day/weekend designation, e.g. in d5 copied down

=if(count(c5),workday(a5,c5),"")

for counting backwards can use same formula negated count, in h5 copied down

=if(count(g5),workday(e5,-g5),"")


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -