Greetings from a total noob.
How can I use a formula (no VBA) to extract data from cells in a row based on criteria and fill the extracted data into another row in the order from left to right
without blanks in between.
In the example shown, the colors Brown to Black in row #1 are the data to be extracted if the corresponding cell in row #2 is not blank ("1" in this case).
The extracted data is to be filled into another row in the order from left to right as shown in row #5. The result must change accordingly when the cells
in row #2 are updated. The formula must still work wherever the result row is. That is to say it could be on a row starting from A5 as shown above or K16 or AD20 etc.
I found some similar questions and suggested solutions on the Internet but all of them have the data arranged downwards in columns. I tried using their formula and
changed the range and Row function to Column function or vice versa to no avail. Any help would be very much appreciated! Thank you.
How can I use a formula (no VBA) to extract data from cells in a row based on criteria and fill the extracted data into another row in the order from left to right
without blanks in between.
In the example shown, the colors Brown to Black in row #1 are the data to be extracted if the corresponding cell in row #2 is not blank ("1" in this case).
The extracted data is to be filled into another row in the order from left to right as shown in row #5. The result must change accordingly when the cells
in row #2 are updated. The formula must still work wherever the result row is. That is to say it could be on a row starting from A5 as shown above or K16 or AD20 etc.
I found some similar questions and suggested solutions on the Internet but all of them have the data arranged downwards in columns. I tried using their formula and
changed the range and Row function to Column function or vice versa to no avail. Any help would be very much appreciated! Thank you.