Jump to content

Recommended Posts

Posted

Further to some excellent Excel advice received in here some time ago, I'm hoping someone can help me with this ☺️

Previous advice showed me how to cause one cell to display a '1' if another named cell contained a number greater than zero, e.g: =IF(A1>0,1"")

ZQUZ26g.jpg

I need to do something similar, but this time I need the '1' to be displayed if the named cell is NOT BLANK.

For example, if I type any value into cell A1, a '1' will appear in cell B1

Further to the screenshots above, the =IF(W7>0,1"") formula (copied down column X) correctly inserts a '1' into the 'Days Operated' fields, but typing '0' does not (I type a zero in the 'Service Users' column if no passengers are travelling but the service is still operating).

Ideally, with the correct formulae in place, the example above would look like this:

FbtgbtL.jpg

 

Thanks in advance ?

Posted

I'm not sure but have read up on some basics earlier in life.

I think it needs, >= ,Greater-Than or Equal To.

Iow, add the equal sign to your greater than sign.

  • Like 1
Posted

My friends say that when I die, my eulogy will be done in Excel since my entire life seems to revolve around it (you have no idea how many weird things I've done using Excel instead of, possibly, more appropriate tools - LOL!).

Anyway, Kurre's solution won't work because when cells are formatted as a number then no value is treated as zero (so every cell will become one whether you type a 0 in the cell or not).  However, Des' solution will work for ya!

If you have any other Excel questions, feel free to PM me.  ?

  • Like 1
  • Thanks 1
Posted
7 hours ago, Kurre said:

I'm not sure but have read up on some basics earlier in life.

I think it needs, >= ,Greater-Than or Equal To.

Iow, add the equal sign to your greater than sign.

Thanks for your input Kurre.

I did actually come up with this myself ?

Unfortunately, as I quickly discovered, this formula treats an empty cell and a cell with a zero in it exactly the same.

Posted
2 hours ago, craigb said:

If you have any other Excel questions, feel free to PM me.

Thanks mate.

My problems figuring out (no punishment in ten did) Excel arise because I was a really late starter,  so I've never learned it from the ground up. I stumbled into using it as a slightly more useful tool than Word Tables.

Hence every time I 'need' a new feature, it's a Google search or seeking help in here ?

I use it at work for basic ready-reckoning of cash in/out, and for recording/manipulating stats (as per the example I sought advice on in the OP).

I'm much the same bumbling around in Photoshop - I know all the basics but if I need to delve deeper into some technique or feature, it usually entails a trip to Google or YouTube to find the answer.

Rest assured I most definitely will be taking you up on your kind offer of some Excellent advice before too long  ?

Posted
1 hour ago, paulo said:

Just what this forum needed.........yet another copycat fred title......?

Well done.

 

 

 

 

 

 

 

?

 

Harrumph etc ?

 

 

I appear to be have been well and truly hoist by my own petard ?

Posted
1 hour ago, SteveStrummerUK said:

I much prefer:

 =IF(ISBBAPU(Am),"Unfunny","Hilarious")

?

As there could be a cell Am (39 cells to the right), That is quite apropos.

 

Well Done!

  • Haha 1
Posted
1 hour ago, Bapu said:

As there could be a cell Am (39 cells to the right), That is quite apropos.

 

Well Done!

Bapu's favorite cell is probably AM440, ya? ?

Posted
9 hours ago, SteveStrummerUK said:

Absolutely nailed it Des!

Thank you so much for your help ?

No worries Steve. If you need any other excelly type help just pm me.

  • Thanks 1
Posted
On 9/24/2020 at 10:31 PM, SteveStrummerUK said:

I appear to be have been well and truly hoist by my own petard

Bill, the nervous javelin thrower, is in the house!

  • Haha 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...