Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
streetboarder
 
Posts: n/a
Default If Statement - Need Help


Trying to make a fool proof pricing sheet - if there is such a thing

Price = D16
Suggest = E16
Quantity = F16
Total = G16

Here is my current If Statement:
=IF(F160,D16*F16,"")

This seems to be working fine until today someone typed in "text" into
the QTY Field. How can I change the if statement to not include the
text?

Thanks!
Josh


--
streetboarder
------------------------------------------------------------------------
streetboarder's Profile: http://www.excelforum.com/member.php...o&userid=30707
View this thread: http://www.excelforum.com/showthread...hreadid=508628

  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default If Statement - Need Help

=IF(AND(ISNUMBER(F16),F160),D16*F16,"")

--
Regards,

Peo Sjoblom

Portland, Oregon




"streetboarder"
wrote in message
news:streetboarder.22qroy_1139118301.0945@excelfor um-nospam.com...

Trying to make a fool proof pricing sheet - if there is such a thing

Price = D16
Suggest = E16
Quantity = F16
Total = G16

Here is my current If Statement:
=IF(F160,D16*F16,"")

This seems to be working fine until today someone typed in "text" into
the QTY Field. How can I change the if statement to not include the
text?

Thanks!
Josh


--
streetboarder
------------------------------------------------------------------------
streetboarder's Profile:
http://www.excelforum.com/member.php...o&userid=30707
View this thread: http://www.excelforum.com/showthread...hreadid=508628


  #3   Report Post  
Posted to microsoft.public.excel.misc
pinmaster
 
Posts: n/a
Default If Statement - Need Help


Try something like:

=IF(ISNUMBER(F16),D16*F16,"")


HTH
JG


--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: http://www.excelforum.com/member.php...fo&userid=6261
View this thread: http://www.excelforum.com/showthread...hreadid=508628

  #4   Report Post  
Posted to microsoft.public.excel.misc
streetboarder
 
Posts: n/a
Default If Statement - Need Help


Awesome - Thanks guys.

Josh


--
streetboarder
------------------------------------------------------------------------
streetboarder's Profile: http://www.excelforum.com/member.php...o&userid=30707
View this thread: http://www.excelforum.com/showthread...hreadid=508628

  #5   Report Post  
Posted to microsoft.public.excel.misc
paul
 
Posts: n/a
Default If Statement - Need Help

making a fool proof sheet can be very testing.....i would data validate that
column for
either whole or decimal numbers say 1 to 10000
--
paul
remove nospam for email addy!



"streetboarder" wrote:


Awesome - Thanks guys.

Josh


--
streetboarder
------------------------------------------------------------------------
streetboarder's Profile: http://www.excelforum.com/member.php...o&userid=30707
View this thread: http://www.excelforum.com/showthread...hreadid=508628




  #6   Report Post  
Posted to microsoft.public.excel.misc
streetboarder
 
Posts: n/a
Default If Statement - Need Help


Validation is a good idea however I would like make this sheet as user
friendly as possible (since after all this is how we get our orders).

'=IF(AND(ISNUMBER(F16),F160),D16*F16,"please enter #")

I am thinking more along the lines of the above but for some reason I
can't get it to work correctly. If the cell is blank or their is a zero
in the QTY colume it returns "please enter #".

Any help would be appreciated.

Thanks,
Josh


--
streetboarder
------------------------------------------------------------------------
streetboarder's Profile: http://www.excelforum.com/member.php...o&userid=30707
View this thread: http://www.excelforum.com/showthread...hreadid=508628

  #7   Report Post  
Posted to microsoft.public.excel.misc
flummi
 
Posts: n/a
Default If Statement - Need Help

Don't quite get the point.
Isn't that what you are saying in your formula?

If F16 is NOT an number OR if it is ZERO, display "please enter #".

Hans

  #8   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default If Statement - Need Help


Perhaps this would be better for you

=IF(ISTEXT(F16),"please enter #",D16*F16)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=508628

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
SET statement tutorial Daminc Excel Discussion (Misc queries) 13 January 17th 06 04:47 PM
If statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM
IF Statement nightmare eugenevr Excel Discussion (Misc queries) 6 May 18th 05 01:09 PM
What statement to use? Paul Excel Worksheet Functions 6 February 13th 05 05:23 PM


All times are GMT +1. The time now is 06:53 PM.

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"