Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default If Function returning 0 instead of cell value

I have entered this statement =SUM(IF(DataEntry!$O38=$A$1,DataEntry!F38)). I
know that it is correct as it is returning the correct infromation. the
problem is that it is returning a 0 for anything with text in it but will
return the correct inforamtion for date or $100. i.e. if F38 is hello
friends it returns 0 but if F38 is $100 it returns $100 please tell me how i
can get the text to show up.

thank you.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default If Function returning 0 instead of cell value

You don't need/want the SUM function.

=IF(DataEntry!$O38=$A$1,DataEntry!F38,"")

--
Biff
Microsoft Excel MVP


"torana_girl77" wrote in message
...
I have entered this statement =SUM(IF(DataEntry!$O38=$A$1,DataEntry!F38)).
I
know that it is correct as it is returning the correct infromation. the
problem is that it is returning a 0 for anything with text in it but will
return the correct inforamtion for date or $100. i.e. if F38 is hello
friends it returns 0 but if F38 is $100 it returns $100 please tell me how
i
can get the text to show up.

thank you.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 419
Default If Function returning 0 instead of cell value

torana_girl77,

You can't SUM text...you can only SUM values...ie. numbers, dates/times,
dollar amounts, etc.

T. Valko's response is correct. By the looks of your formula, there should
be no need for the SUM() function.

HTH,

Conan Kelly






"torana_girl77" wrote in message
...
I have entered this statement =SUM(IF(DataEntry!$O38=$A$1,DataEntry!F38)).
I
know that it is correct as it is returning the correct infromation. the
problem is that it is returning a 0 for anything with text in it but will
return the correct inforamtion for date or $100. i.e. if F38 is hello
friends it returns 0 but if F38 is $100 it returns $100 please tell me how
i
can get the text to show up.

thank you.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default If Function returning 0 instead of cell value

Thank you that did the trick - now that you have said it i don't know why i
didn't think of it. thank you so much i was getting very annoyed.
"T. Valko" wrote:

You don't need/want the SUM function.

=IF(DataEntry!$O38=$A$1,DataEntry!F38,"")

--
Biff
Microsoft Excel MVP


"torana_girl77" wrote in message
...
I have entered this statement =SUM(IF(DataEntry!$O38=$A$1,DataEntry!F38)).
I
know that it is correct as it is returning the correct infromation. the
problem is that it is returning a 0 for anything with text in it but will
return the correct inforamtion for date or $100. i.e. if F38 is hello
friends it returns 0 but if F38 is $100 it returns $100 please tell me how
i
can get the text to show up.

thank you.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default If Function returning 0 instead of cell value

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"torana_girl77" wrote in message
...
Thank you that did the trick - now that you have said it i don't know why
i
didn't think of it. thank you so much i was getting very annoyed.
"T. Valko" wrote:

You don't need/want the SUM function.

=IF(DataEntry!$O38=$A$1,DataEntry!F38,"")

--
Biff
Microsoft Excel MVP


"torana_girl77" wrote in message
...
I have entered this statement
=SUM(IF(DataEntry!$O38=$A$1,DataEntry!F38)).
I
know that it is correct as it is returning the correct infromation.
the
problem is that it is returning a 0 for anything with text in it but
will
return the correct inforamtion for date or $100. i.e. if F38 is hello
friends it returns 0 but if F38 is $100 it returns $100 please tell me
how
i
can get the text to show up.

thank you.






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
GETPIVOTDATA function returning 0 not #REF Steven Cheng Excel Worksheet Functions 0 October 3rd 08 01:02 AM
Function argument not returning a value Linda Excel Worksheet Functions 11 December 28th 07 11:38 PM
Calling a function and then returning CLamar Excel Discussion (Misc queries) 4 June 19th 06 06:47 PM
Returning a colored value in If function ExcelQuestion Excel Discussion (Misc queries) 4 October 18th 05 08:58 PM
Returning colours from a function Annie1904 Excel Worksheet Functions 3 March 15th 05 07:47 PM


All times are GMT +1. The time now is 04:17 AM.

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

About Us

"It's about Microsoft Excel"