I have 4 columns, the first two columns (A & B) are S/N and Start date. The last two columns (C & D) are S/N and Finish date. There is not necessarily a one-to-one relationship between start & finish dates.
I want to align the S/N's in columns A & C, and keep the Start & Finish dates associated with the S/N's. Then I want to add a fifth column (E) which calculates the Duration of the event (Finish date minus Start date). If there is not a match between S/N's (blanks), the Duration shall be zero.
Can this be accomplished using standard Excel functions?
Align 2 columns and maintain association with 2 adjacent columns
-
-
-
Re: Align 2 columns and maintain association with 2 adjacent columns
You have one too many columns, eliminate column C so that you have
A- Serial Number
B- Start
C- End
D- Duration (=C1-B1) -
Re: Align 2 columns and maintain association with 2 adjacent columns
I have two existing files that I need to merge. There are 7000 rows in one file and 6500 rows in the other file. That's why I need to first align the S/N's then calculate the Duration of the task. I cannot eliminate one set of S/N's, because there is not a one-to-one relationship. There may be unique S/N's in either file.
-
Re: Align 2 columns and maintain association with 2 adjacent columns
Excel 2010 Tables
Two methods:
With helper column and sort.
With Advanced Filter.
http://c3017412.r12.cf0.rackcdn.com/03_07_11.xlsx
If you get *.zip, don't unzip, just rename *.xlsx
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!