A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Perfect, thank you again.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have three columns A,B & C. There will be instances of where postcodes will be in A,B or C. i would like to write a formula that says if there is data in C use it, but if C is blank use the data in B and then finally if C and B are blank then use the data in column A
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Perfect, thank you again.
Hi,
In cell D2, enter this formula and drag down
=lookup(2,1/(A2:C2<>""),A2:C2)
Hope this helps.
Hi, thank you for your response i am not sure i explained the problem clearly enough.
The formula i was trying to write in column D would essentially have collected the data in the first column that wasn't blank (going right to left ie C, B, A.)
The intended results from the formula would been as follows D2 - TB53 7AB in D3 - A1 5PA and in D4 - AB3 5ST ie ignoring the blank cells.
Thank you
Hi,
Share some data to work with and show the expected result. Share data in a format that can be pasted in an MS Excel file.