Forum Discussion
Karen Higgins
Jul 04, 2018Copper Contributor
Preparation of .csv file with multiple unique IDs
I have two files - one for person and one for place. The Person file contains 45 Person IDs and the Place file contains 85 Place IDs. I want to be able to produce a single .csv file where each Perso...
- Jul 05, 2018
Hi Karen,
If data is structured like this
you may use in F3
=OFFSET($B$2,INT((ROW()-ROW($D$2)-1)/COUNTA($D$3:$D$500))+1,0)
in G3
=OFFSET($D$2,MOD(ROW()-ROW($D$2)-1,COUNTA($D$3:$D$500))+1,0)
and drag that cells down till combinations end.
Same is in attached.
SergeiBaklan
Jul 05, 2018Diamond Contributor
Hi Karen,
If data is structured like this
you may use in F3
=OFFSET($B$2,INT((ROW()-ROW($D$2)-1)/COUNTA($D$3:$D$500))+1,0)
in G3
=OFFSET($D$2,MOD(ROW()-ROW($D$2)-1,COUNTA($D$3:$D$500))+1,0)
and drag that cells down till combinations end.
Same is in attached.
- Karen HigginsJul 05, 2018Copper Contributor
This is great - thanks very much!
- SergeiBaklanJul 05, 2018Diamond Contributor
You are welcome