A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Looking for Text strings



 
 
Thread Tools Display Modes
  #1  
Old March 24th, 2010, 01:28 PM posted to microsoft.public.excel.worksheet.functions
scats
external usenet poster
 
Posts: 7
Default Looking for Text strings

I lost all my data and have to redo my home spreadsheet, but It's been awhile
since I made it and I have forgotten some of my formulas. I need a simple one
tho. On my input page column A I list the amounts. In column B I use a text
code for the vender i.e.

Column A Column B
$42.00 WM
$59.00 SW

Now what I need is the formula that will place the amount on my data sheet
depending on the "WM" or "SW" text codes like so.

Wal-mart Safeway
$42.00 $59.00

I had my last workbook set up this way but I haven't worked with formulas in
a long time and my mind isn't as sharp as it once was. Thanks in advance for
the help.
  #2  
Old March 24th, 2010, 01:36 PM posted to microsoft.public.excel.worksheet.functions
Luke M[_4_]
external usenet poster
 
Posts: 451
Default Looking for Text strings

Additional example data might be helpful, but my first guess would be that
you want to use the SUMIF function.

--
Best Regards,

Luke M
"Scats" wrote in message
...
I lost all my data and have to redo my home spreadsheet, but It's been
awhile
since I made it and I have forgotten some of my formulas. I need a simple
one
tho. On my input page column A I list the amounts. In column B I use a
text
code for the vender i.e.

Column A Column B
$42.00 WM
$59.00 SW

Now what I need is the formula that will place the amount on my data sheet
depending on the "WM" or "SW" text codes like so.

Wal-mart Safeway
$42.00 $59.00

I had my last workbook set up this way but I haven't worked with formulas
in
a long time and my mind isn't as sharp as it once was. Thanks in advance
for
the help.



  #3  
Old March 24th, 2010, 03:27 PM posted to microsoft.public.excel.worksheet.functions
petedacook
external usenet poster
 
Posts: 10
Default Looking for Text strings

Luke is correct. Your formula might look like this:

for Safeway:

SUMIF(B2:B19,"sw",A2:A19)

"Luke M" wrote:

Additional example data might be helpful, but my first guess would be that
you want to use the SUMIF function.

--
Best Regards,

Luke M
"Scats" wrote in message
...
I lost all my data and have to redo my home spreadsheet, but It's been
awhile
since I made it and I have forgotten some of my formulas. I need a simple
one
tho. On my input page column A I list the amounts. In column B I use a
text
code for the vender i.e.

Column A Column B
$42.00 WM
$59.00 SW

Now what I need is the formula that will place the amount on my data sheet
depending on the "WM" or "SW" text codes like so.

Wal-mart Safeway
$42.00 $59.00

I had my last workbook set up this way but I haven't worked with formulas
in
a long time and my mind isn't as sharp as it once was. Thanks in advance
for
the help.



.

  #4  
Old March 24th, 2010, 11:38 PM posted to microsoft.public.excel.worksheet.functions
scats
external usenet poster
 
Posts: 7
Default Looking for Text strings

That helps a lot. That's what I was looking for almost. I wanted it to look
for certain letters and put the amount in the right cells. But with this
formula if it doesn't find the code then it leaves a $0.00. How do I get it
to just leave the cell empty if that certain code isn't there.

"petedacook" wrote:

Luke is correct. Your formula might look like this:

for Safeway:

SUMIF(B2:B19,"sw",A2:A19)

"Luke M" wrote:

Additional example data might be helpful, but my first guess would be that
you want to use the SUMIF function.

--
Best Regards,

Luke M
"Scats" wrote in message
...
I lost all my data and have to redo my home spreadsheet, but It's been
awhile
since I made it and I have forgotten some of my formulas. I need a simple
one
tho. On my input page column A I list the amounts. In column B I use a
text
code for the vender i.e.

Column A Column B
$42.00 WM
$59.00 SW

Now what I need is the formula that will place the amount on my data sheet
depending on the "WM" or "SW" text codes like so.

Wal-mart Safeway
$42.00 $59.00

I had my last workbook set up this way but I haven't worked with formulas
in
a long time and my mind isn't as sharp as it once was. Thanks in advance
for
the help.



.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:47 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.