Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-18-2017, 01:50 PM
andspenka andspenka is offline If Windows 10 If Office 2016
Novice
If
 
Join Date: Feb 2017
Posts: 2
andspenka is on a distinguished road
Default If

I'm having problems with the IF function, I hope someone can tell me what's wrong and point me in the right direction.



I'm trying to make a sheet to help with Caravans and License Restrictions, my cells are as follows.

In cell F21 I have the following:

=IF(D12<D21,"OK","B&E Required")

Cell D21 has the following in it:

=IF(B21<1997,"7500", "3500")

I think the reason it's not working is because the cell I'm referencing has the values inputted by another IF function. I have changed cell D21 to D22 and entered the values manually and it works how it should.

Where am I going wrong?

Cheers in advance
Reply With Quote
  #2  
Old 02-18-2017, 04:00 PM
jeffreybrown jeffreybrown is offline If Windows Vista If Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Hello & Welcome to the Forum,

Since you are comparing the values of numbers, remove the quotes from the number in your D21 formula.

=IF(B21<1997,7500,3500)
Reply With Quote
  #3  
Old 02-18-2017, 04:07 PM
andspenka andspenka is offline If Windows 10 If Office 2016
Novice
If
 
Join Date: Feb 2017
Posts: 2
andspenka is on a distinguished road
Default

That's great thanks,

I had a feeling it would be something simple, didn't realise it would be that simple
Reply With Quote
  #4  
Old 02-18-2017, 04:10 PM
jeffreybrown jeffreybrown is offline If Windows Vista If Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

You are very welcome. Glad you have a workable solution now.
Reply With Quote
Reply



Other Forums: Access Forums

All times are GMT -7. The time now is 09:44 AM.


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