Match Text(any text val) in column, show me an array of row numbers?

ljubo_gr

Board Regular
Joined
Dec 6, 2014
Messages
244
Office Version
  1. 2016
Platform
  1. Windows
Hello dear excel enthusiasts!
I have Sheet1(A3:C13), need formula to find any text values or even single letter in column A3:A13, to show me one answer or more, exp. {" ","4"," ","6"...}, then I need to format those rows. If answer is rows4&6, please dear excel fill with red colour rows 4&6 through A4:C4 and A6:C6. Column A is usually empty, sometimes it will contain some letter(text).
Ps. Suproduct will be nice to have also, to sum values of those red rows(indexB3:C13). Thank You So Much!

MATCH("?*",A3:C13,0)+ROW(A3:C13)-1
IF(("?*"=A3:A13)*1,ROW(A3:A13),"")
{=IF(MATCH(COUNTIFS(a3:a13,"?*"),a3:a13,0),ROWS(a3:a13),"")}

=SUMPRODUCT(INDEX(b3:c13,IF((MATCH("?*",a3:a13,0)=ROW(a3:a13)),ROW(a3:a13),""),))
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
This is for sum values from rows where is in A col any value:
Code:
=SUMPRODUCT(--((ISNUMBER(SEARCH("?*";$A$3:$A$13)))*($B$3:$C$13)))
DOn't know how to search for Text, and don't know how to set formatting:(
 
Last edited:
Upvote 0
Formula in Conditinal formatting: =AND($A3<>"";$A3<>" ";$A3<>{0;1;2;3;4;5;6;7;8;9}) applies to range: $B$3:$C$13

Still don't know how to make Search only for "ABCDEFGHIJ..." in that Sumproduct formula:(
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,698
Members
448,979
Latest member
DET4492

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top