Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-23-2011, 05:51 PM
djreyrey djreyrey is offline ** Excel Formula Windows 7 ** Excel Formula Office 2007
Novice
** Excel Formula
 
Join Date: Mar 2010
Posts: 21
djreyrey is on a distinguished road
Default

Thanks Colin for your time.

Well, lets say you have the following:

Column A | Column B | Column C
1.25 5 5
1.5 6 6
1.75 7 7
2 8 2
2.25 9 9


I would like Excel to compare the number in Column A with the number in Column B and decide which number does NOT have a decimal and put that result in Column C. If both numbers are whole numbers, then put the smaller number in Column C.

For example, in row 1, Column C should display 5 because it is not a decimal. For row 2, Column C should display a 6 because it is not a decimal. In row 4, Column C should display a 2. Since both numbers are whole numbers, the smaller number would be the correct number.

HTH's.



Rey
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to solve this formula in excel BrOkEn_iCe Excel 2 12-21-2010 05:45 AM
excel help Formula sellspeed Excel 15 03-10-2010 10:57 AM
Needs help to find excel formula- Please aamer_1983 Excel 2 07-13-2009 01:46 AM
Excel Formula Help masoom84 Excel 1 03-07-2009 09:41 AM
** Excel Formula Excel Formula Help Shahzad Excel 1 12-07-2008 04:13 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft