Date: prev next · Thread: first prev next last
2025 Archives by date, by thread · List index


On Fri, 7 Feb 2025 at 09:43, Wade Smart <wadesmart@gmail.com> wrote:


What I have unsuccessfully been trying to do is.

SUM(CD6:CD15) + If within this range C6:C13 the string "Upper Swing Pin"
is found, reference BG6:BG13 on whatever line that string was found and
find the text "lb:" and grab the number to the right * BZ that row number
and .. add back to the sum, which is BN17

I have had problems from the start.
In my sample worksheet C7 = Upper Swing Pin 272s 725w
When I use Search or Find "Upper Swing Pin" it is not found.

I was testing with this:


=IF(ISERROR(SEARCH("Upper Swing Pin", C6:C13)), "Not Found", "Found")
=IF(ISERROR(SEARCH("Upper", C6:C13)), "Not Found", "Found")


both said not found.

My understanding is the the SEARCH function is for finding a string of
text **within** another text, not across a range of cells.
ISTM it will be necessary to do a FIND function for each individual
cell where the text might be located.



-- 
T. R. Valentine
A rich heart may be under a poor coat.

-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.