excel question.

C

cam

Guest
im attempting to make a spreadsheet for end-of-day cash verification.. attached is a word document screen shot.

the trouble im running into is that I have cells A22:A30 = cells A8:A16.. if there is a blank, it populates a 0.. i would rather it populate nothing at all.

Any way to correct this?

Thanks!

Cam

// http://cam.deflected.org/doc.doc
 
use this in A22 and then copy it to A9, A10, etc.: =IF(A8><0,A8+0,"")
The 2 sets of quotation marks tell it to leave the cell blank in case of a zero and the >< will give you the correct value if the number happens to be negative.

If you want the easy way out, go to "Tools", "Options", "View", and uncheck "Zero Values".
 
or use the IF funtion:

PHP:
=IF(A2="","",A2)

this will leave the cell blank if the outher cell is bank (in this case A2) so put that in any cell + if A2 = blank then the cell the formular is in will be blank. If A2 has data in it then the cell with the formula in in will have that data as well.
 
in your example for cells A22-A30 use:


PHP:
=IF(A22="","",A8)
=IF(A23="","",A9)
=IF(A24="","",A10)
=IF(A25="","",A11)
=IF(A26="","",A12)
=IF(A27="","",A13)
=IF(A28="","",A14)
=IF(A29="","",A15)
=IF(A30="","",A16)

That should work fine:cool:
 
none of those worked.. except for no zero values bit.. im uploading the file itself to my webspace.. take a look at it, maybe im doing something wrong.

i want a22:a30 to feed directly from a8:a16 and not show zeros if its blank.

excel sheet
 
my way should have worked....give me 5 mins + i'll do it ;)
 
ahaha :)

thanks chief! you'll have to give me some slack though, in the UK its noon, over here its 7 am.
 
ooooops i made an error :blush:

it should be:

=IF(A8="","",A8)

will change sheet + atach it in a mo :D
 
done :cool:

i can change it so that it doesn't show $0.00 as well;)
 
well if its the same type of code ill have no problems.

thanks again
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back