Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Excel Formula To Get First Non-Zero Value in Row and Return Column Header

Sure, try this

=INDEX(J$8:N$8,MATCH(TRUE,INDEX(J9:N9<>0,),0))


I accepted the answer above but wanted to show the other way I found to do it, in case it helps anyone.

=OFFSET($I$8,0,MATCH(0,J10:N10,1)+1)

You could also write this as:

=INDEX(J$8:N$8,MATCH(0,J9:N9,1)+1)

Tags:

Worksheet Function

Microsoft Excel

Microsoft Excel 2010

Microsoft Excel 2013

Related

Ubuntu : This does not look like a tar archive Does the color of a heatsink affect its performance in dissipating heat? Robocopy to copy only new folders and files vim command palette, similar to sublime text Customise the Visual Studio colour scheme per solution What does the percent sign (% and %%) in a batch file argument mean? Get path of parent folder of script location : Applescript Feeding contents of a text file as command to telnet How to automatically rotate images based on EXIF data? How can I migrate all keyboard shortcuts from one mac to another? cURL: multiple POST requests while reusing the TCP connection Tidy rendered HTML output in Chrome's View Source?

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy