Dont show content if cell has a number higher than 1

MetrOslo

New Member
Joined
Mar 8, 2018
Messages
10
Hello,

I have a formula that is working fine: =D9/0,6

But I want this formula to display nothing IF the number of another cell is higher than 1.

Can anyone help me?

Jon
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Structure it like this (let's say the other cell is A1):
Code:
=IF(A1>1,"",[I]your formula[/I])

Note if that you are using a version of Excel that uses semi-colons instead of commas to separate formula arguments, it will look like this instead:
Code:
=IF(A1>1;"";[I]your formula[/I])
 
Upvote 0
Thank you joe4, for responding.

I'm using your formula with ;
=IF(C9>1;"";D9/0,6)

But i get the following error: #NAVN ?

Do you know what I'm doing wrong?
 
Upvote 0
Are you using a system in which you use commas instead of periods to represent decimal points?
If not, what exactly does 0,6 represent?

Also, what values do you currently have in C9 and D9?
 
Upvote 0
I noticed that i just need to change IF with HVIT because i'm using a norwegian version of excel.

But now i got another problem. Because the last formula (price) is using the unit price formula to calculate the totalt price.

HbyZV9A.png
HbyZV9A.png
HbyZV9A.png
/0,6 is just calculating a new price.

Do you see my attached image? If unit price is 1, i don't need to display unit price, because unit price will be the same as total price.

Skjermbilde.PNG
 
Last edited:
Upvote 0
No I cannot see your image. Unfortunately, my workplace blocks a lot of images.

If the issue is you want to see nothing (blank) if it is equal to one also, then simply change:
C9>1
to
C9>=1
 
Upvote 0
How can I use the content of this cell now? If its hidden I can not use it and I get an error on the next cell. Because the next cell uses thisone to demonstrate the content..
 
Upvote 0
I am not sure I am understanding you. I was just instructing you to make the change in your formula, i.e.
Code:
[COLOR=#333333]=HVIT([/COLOR][COLOR=#ff0000]C9>=1[/COLOR][COLOR=#333333];"";D9/0,6)[/COLOR]

If that does not answer your question, because I cannot see your image, you are going to need to do your best to explain what you have and what it is you are now trying to do.
 
Upvote 0
Unfortunately, the same security policy at my workplace that blocks those images also blocks image and file sharing sites. So I cannot see those either.
Can you tell me what the formula you have in G9 is?
 
Upvote 0

Forum statistics

Threads
1,215,692
Messages
6,126,227
Members
449,303
Latest member
grantrob

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top