if cell blank do "x", if cell zero do "y", if cell > zero do

liquidrobot

New Member
Joined
May 13, 2002
Messages
9
please, i'm new to excel scripting...

how do a write a condition that can check a currency column (has to be a number) that can know if the column has anything in it?

if the cell has no input i want to do "x",
if the cell has a zero i want to do "y",
if the cell has a number greater than one i want "z"

thanks...
 
Re: if cell blank do "x", if cell zero do "y", if cell > zero do

3 4 5 3 - this numbers are written at the end of quarter. And 2,5 can be written e.g. 15th july (or other day of year), and now I need to find formula, that at the end of III quarter (or other quarter of year) is comparing 3 4 5 3 and 2,5, showing number which were written last. In above example it should return 5 (value at the end of 3 quarter) because it was write further than 2,5 (15 july).

Try to post a sample including the accompanying dates...
 
Upvote 0

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Re: if cell blank do "x", if cell zero do "y", if cell > zero do

I am amazed that nobody has pointed out that new questions should be in a new thread....
 
Upvote 0

Forum statistics

Threads
1,215,084
Messages
6,123,029
Members
449,092
Latest member
ikke

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