I want to make a unique sample ID in a separate column using the values from 2 columns (x and y) and a unique value that is located in cell A1 (Reasearch:…) e.g.X64Y084_2022022-00.
I am not sure how best to do this, Is it possible to reference a specific cell using the IF function instead of the variable column $(1)?
I don’t get what you intend to reach, but in case you want to have the value in the complete column check the “fill” transaction, which you can add after the “if” transaction to fill the column with the value. But the typical use of if is, as in Excel, to get the value of the row in that column where the conditions are met.
If Fill doesn’t help you should show with a concrete example, use the table, what you intend to do.
Sorry my explanation isn’t clear. I want the value in cell A1 (circled in the above image) to get copied into a column. So i can than make an unique value using the dispatch number from A1 and the X and Y column.
I have now managed to get the value i wanted into a column, using filter, new row, row number and then the join function. Which i can now manipulate to get the unique value i need. However this might be the best way to do it.
just another solution following your initial approach, but using cross instead of join, so you don’t need to create rows in dependency of the rows in the source file.
You can try the following suggestion by the @Admin to upload the files or data when you are still at Basic User Level.
(Input or output dataset) Paste your dataset into the post as a CSV, e.g.header1,header2,header1
a1,b1,c1
a2,b2,c2
or
(Input or output dataset) Upload the data to a public server and post a link here. This is best for larger datasets. swisstransfer.com is free and easy to use.