# How to find the value of first non blank in a row?

Options

Red are products in the row

Green are their Sales Year as column

Situation - Sales of different products started in different years.

Brown is manually calculated sales numbers and their sales years

Yellow is the required formula

So that Smartsheet can auto calculate the values of the first non blank cell and give us the sales number and further can give us the year it took place.

Please note that I am able to do it in excel using isblank and then index match match using the following logic

Index(p3:ak3,MATCH((2020+MATCH(FALSE,ISBLANK(P3:AK3),0)),\$P\$2:\$AK\$2, 0))

But in Smartsheet i am not able to generate isblank true false array and find apply index match.

If you know then kindly share the correct formula or any alternative would be helpful.

Regards,

Mus

## Answers

• ✭✭✭✭✭✭
Options

=IF(ISBLANK(2017@row), 2018@row, IF(ISBLANK(2018@row), 2019@row, IF(ISBLANK(2019@row), 2020@row, IF(ISBLANK(2020@row), 2021@row, IF(ISBLANK(2021@row), 2022@row))))

• ✭✭✭✭✭✭
Options

Hi @md.mus.

I hope you're well and safe!

Try something like this.

=LEFT(JOIN([2017]@row:[2022]@row), 2)

Would that work/help?

I hope that helps!

Have a fantastic week & Happy Holidays!

Best,

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

SMARTSHEET EXPERT CONSULTANT & PARTNER

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!