ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Find and move base on value (https://www.excelbanter.com/excel-programming/380941-re-find-move-base-value.html)

Dave Peterson

Find and move base on value
 
So you always have one or the other?

=IF(COUNTIF(B1:C1,"net revenue interest*")0,
INDEX(B1:IV1,MATCH("net revenue interest*",B1:IV1,0)),
INDEX(B1:IV1,MATCH("account*",B1:IV1,0)))


LisaVH wrote:

I have a large report I bring over from another program (accounting software)
that I need to reformat in Excel for further data analysis. What I want to
do is create something that will find all cells that begin with "Net Revenue
Interest: XXXXXXX" or "Account: XXXXXXX" and move it to column A of the same
row (where the XXX are variable values). Is the possible??? Thanks.


--

Dave Peterson


All times are GMT +1. The time now is 01:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com