Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-17-2014, 07:19 PM
tsaladyga tsaladyga is offline Help with IF or ELSE Formulas Windows 7 64bit Help with IF or ELSE Formulas Office 2010 64bit
Novice
Help with IF or ELSE Formulas
 
Join Date: Jun 2014
Posts: 3
tsaladyga is on a distinguished road
Default Help with IF or ELSE Formulas

Hi all I am trying to do something that I am having a hard time figuring out. I have attached a spreadsheet I am creating. Basically it is an Inspection report for a machine shop. I want to be able to enter Dimensions from a Blue print in the first column and based on how many Decimals it has, it will auto fill the tolerance zones upper and lower limits. I was able to get one to work but I can't seem to get the other to work.

My formulas is this:
=IF(B11>".00",B11-I6,B11-I7)
I would like it to read more or less,
=IF(B11=".00",B11-I6,=IF(B11=".000",B11-I7))


Basically, if it is a two place decimal, I want it to subtract the value from I6 and if it is a three place decimal to subtract the value from I7.

Can anyone help please?
Thanks,
Todd
Attached Files
File Type: xlsx Inspection Sample.xlsx (24.0 KB, 10 views)
Reply With Quote
  #2  
Old 06-18-2014, 06:49 AM
whatsup whatsup is offline Help with IF or ELSE Formulas Windows 7 64bit Help with IF or ELSE Formulas Office 2010 32bit
Competent Performer
 
Join Date: May 2014
Posts: 137
whatsup will become famous soon enough
Default

Hi

You can determine by the entered decimals in B11 the calculation to be done. Like this:
=IF(LEN(B11)-FIND(".",B11,1)>2,B11-I7,B11-I6)
Reply With Quote
  #3  
Old 07-23-2014, 06:45 AM
tsaladyga tsaladyga is offline Help with IF or ELSE Formulas Windows 7 64bit Help with IF or ELSE Formulas Office 2010 64bit
Novice
Help with IF or ELSE Formulas
 
Join Date: Jun 2014
Posts: 3
tsaladyga is on a distinguished road
Default

Thank you! It worked great!
Reply With Quote
  #4  
Old 07-23-2014, 06:47 AM
tsaladyga tsaladyga is offline Help with IF or ELSE Formulas Windows 7 64bit Help with IF or ELSE Formulas Office 2010 64bit
Novice
Help with IF or ELSE Formulas
 
Join Date: Jun 2014
Posts: 3
tsaladyga is on a distinguished road
Default

Now, is there a way to add a third line?
So for 1, 2 or 3 decimal places?
Reply With Quote
  #5  
Old 07-23-2014, 09:04 AM
gebobs gebobs is offline Help with IF or ELSE Formulas Windows 7 64bit Help with IF or ELSE Formulas Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

This should do it for all, I think.

Lower:
=B11-OFFSET($I$4,LEN(B11)-FIND(".",B11),0)

Upper:
=B11+OFFSET($I$4,LEN(B11)-FIND(".",B11),0)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with formulas please paul_pearson Excel 0 03-20-2013 06:51 AM
Help with IF or ELSE Formulas Save Formulas bondimedical3 Word 7 04-25-2012 02:02 AM
Help with IF or ELSE Formulas Formulas in a different language poobear Excel 2 09-18-2011 04:35 AM
Help! 'SUMIF' Formulas dave1372 Excel 2 09-08-2011 07:05 AM
Help with IF or ELSE Formulas IF Formulas mizzamzz Excel 1 07-08-2010 02:32 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:26 AM.


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