Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Return Text in an IF formula

Please can anyone help?

I have an If formula set up to extract info from one worksheet to another
when a certain value is entered. basically the data is in columns of our
code, their code and description. the formula for the numeric columns is fine
and returns the correct data however the formula to return the description
text only returns a 0. can anyone see what i have wrong in the formula?

=SUMIF('Oct 07-Sept 08'!A5:A108,Sheet1!A8:A37,'Oct 07-Sept 08'!B5:B108)

Kind regards

Jamie


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 751
Default Return Text in an IF formula

Jamie,

SUMIF will ignore text. Also, take note that typically SUMIF expects a
single value in its 2nd argument. Instead you are supplying a range of
cells Sheet1!A8:A37.

Also, SUMIF adds several numbers that match the criterion. What would
be your corresponding intention for multiple text values matching the
criterion?

My guess is you intend a lookup operation. Something like:

=VLOOKUP(Sheet1!A8,'Oct 07-Sept 08'!A5:B108,2,0)

HTH
Kostis Vezerides

On Oct 11, 6:02 pm, Jamie76 wrote:
Please can anyone help?

I have an If formula set up to extract info from one worksheet to another
when a certain value is entered. basically the data is in columns of our
code, their code and description. the formula for the numeric columns is fine
and returns the correct data however the formula to return the description
text only returns a 0. can anyone see what i have wrong in the formula?

=SUMIF('Oct 07-Sept 08'!A5:A108,Sheet1!A8:A37,'Oct 07-Sept 08'!B5:B108)

Kind regards

Jamie



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Return Text in an IF formula

Thanks Dom but now it just comes up with #VALUE!

=IF('Oct 07-Sept 08'!A5:A108,Sheet1!A8:A37,'Oct 07-Sept 08'!B5:B108)


could it be anything else? Do i just have the total wrong formula?

Jamie


"Don Guillett" wrote:

SUM

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Jamie76" wrote in message
...
Please can anyone help?

I have an If formula set up to extract info from one worksheet to another
when a certain value is entered. basically the data is in columns of our
code, their code and description. the formula for the numeric columns is
fine
and returns the correct data however the formula to return the description
text only returns a 0. can anyone see what i have wrong in the formula?

=SUMIF('Oct 07-Sept 08'!A5:A108,Sheet1!A8:A37,'Oct 07-Sept 08'!B5:B108)

Kind regards

Jamie




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula to return part of a text string luvthavodka Excel Discussion (Misc queries) 9 October 20th 08 05:27 PM
Return formula as text Paul Wittle Excel Worksheet Functions 1 August 8th 07 01:38 PM
Link to text and return text into a formula? Mary Excel Worksheet Functions 5 June 22nd 07 01:49 PM
Return a text string when the result of VLOOKUP formula is #N/A jeremy nickels Excel Worksheet Functions 2 August 4th 06 05:26 PM
Return a formula as text string to a cell Sharon Excel Worksheet Functions 4 April 18th 06 05:40 PM


All times are GMT +1. The time now is 12:34 AM.

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

About Us

"It's about Microsoft Excel"