Hello,
I would like to sum all values in Column B that have a number starting with 115 in Column A. However, I cannot format the column as TEXT.
See example workbook.
Hello,
I would like to sum all values in Column B that have a number starting with 115 in Column A. However, I cannot format the column as TEXT.
See example workbook.
Hi There,
Maybe like this? ....
Formula:Please Login or Register to view this content.
try:Please Login or Register to view this content.
Try
=SUMPRODUCT(--(INT($A$2:$A$4/(10^(LEN($A$2:$A$4)-3)))=115)*($B$2:$B$4))
allows for 115876 i.e numbers of length >= 4
Last edited by JohnTopley; 11-26-2015 at 05:59 PM.
Hi EnigmaMatter,
How about using a Helper Column that converts the numbers to text and then do your sumif?
See the attached.
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
Hi
Try this solution
=SUMPRODUCT(--(INT((INT(A2:A4)/10^(INT(LOG(A2:A4,10))-2)))=115),B2:B4)
for any numbers and no text.
Regards
tested with a long string, text and/or numbersPlease Login or Register to view this content.
Last edited by sandy666; 11-26-2015 at 07:20 PM.
@Sandy666 best solution! I am sure I tried that solution but it didn't (?) work! (too late in the day I think)
thank you John
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks