The Book-keepers Forum (BKF)

Post Info TOPIC: Spread Sheet '=IF' WOES!!!


Senior Member

Status: Offline
Posts: 133
Date:
Spread Sheet '=IF' WOES!!!
Permalink Closed


...and if you still want to continue further with the IF format, I'd use cell references rather than the text for "Furniture", etc, so that you can change the names of the options and the formulae will still work. Remember you'll need to use $ in the references to make them work properly when you copy and paste the formula into all the rows (apologies if you already knew that).

Additionally, if you are aiming to make it client-proof, you'll need to look at cell validation, so that a classification not in your list can't be entered. If you do, though, OpenOffice has a bug where if you specify a validation as a range of cells, and then extend the range, the validation formulae are not updated. I don't know if Excel does the same, but you can easily try it out to see. The workaround in OO is to create a named range for the validation values, and then use that in the validation formulae, saving some hassle when you add a new classification in six months time.

I'd also think about whether fractions of a pence are important, for column K. There are various rounding functions available, depending on how you want to handle fractions of a pence. Remember that what is displayed is not necessarily what is stored, but if you are using this spreadsheet to manually copy figures across, and you are not cumulating the column K results over time, then you're probably ok as you are.

-- Edited by Rob-f58049 on Wednesday 15th of August 2012 03:15:27 PM

__________________
Rob


Guru

Status: Offline
Posts: 506
Date:
Permalink Closed

I've been working on the same formula for over an hour now and it bugging the hell out of me!! Let me set the scene:

I'm trying to create an automated fixed assets register, one thats fool proof for clients really, and makes my life easier. So i thought id experiment on myself, after all isn't that the way the greats did it!! lol

Column 'F' is the classification, which uses a drop down list to choose from, they are Vehicle, Furniture, IT equipment, and Miscellaneous

Column 'J' is the rate of depreciation (not sure this is needed and the formulas could go in column 'K', so you don't see the level)

Column 'K' is =sum(G4(the cost column)*J4)

What im trying to do and failing miserably at is get 'J' to display the rate of dep'n for the values displayed in 'F'. What i have so far is: =IF(F4="Furniture"),20%,IF(F4="Vehicles"), 25%,if(F4= "IT Equipment",33%,if(F4="Miscellaneous",25%,If(F4="","",""))). I can get it to work for one variable, but as soon as I put any others In it doesn't work. I was thinking do i even need to display the depr'n in column 'J' and can it not just be worked into the formula in 'K'?

 

I'm sure as soon as someone posts the right answer i'll see how much of a div i've been and it'll be obvious where i've gone wrong, but at the moment the 'red mist' is descending and I cant see the wood for the trees! Is there anyone out there who could offer advice and maybe some help?? PRETTY PLEASE! lol



__________________

Gary

W: www.backtoblackbooks.co.uk    E: gary@backtoblackbooks.co.uk     t: @backtoblackBK



Forum Moderator & Expert

Status: Offline
Posts: 11981
Date:
Permalink Closed

Hi Gary,

the formulae as you have it will only work for the first variable.

The issue is that you are using the wrong function for the job.

Rather than an IF statement you need a Vlookup table with each possible value from F4 in a handy little table that will return the correct rate for the value entered.

I'll let you go and have a play with the Vlookup function then come back with specific questions later,

all the best,

Shaun.

__________________

Shaun

Responses are not meant as a substitute for professional advice. Answers are intended as outline only the advice of a qualified professional with access to all relevant information should be sought before acting on any response given.



Forum Moderator & Expert

Status: Offline
Posts: 11981
Date:
Permalink Closed

p.s. if you want to continue with your existing approach the format should actually be along the lines of :

=IF(F4="furniture",20%,IF(F4="vehicles",25%,IF(F4="equipment",33%,25%)))

Shaun.

__________________

Shaun

Responses are not meant as a substitute for professional advice. Answers are intended as outline only the advice of a qualified professional with access to all relevant information should be sought before acting on any response given.



Guru

Status: Offline
Posts: 506
Date:
Permalink Closed

Thanks shaun, for both interpretations!

I think i will have to look into the Vlookup as the NBV and Accum'd Dep'n are showing #VALUE, clearly showing that theres something wrong with the formula. As you say Vlookup might remedy these issues; as cost less accum'd dep'n is showing nothing because theres no figure in the accum'd b/f column.

My head hurts!! lol

__________________

Gary

W: www.backtoblackbooks.co.uk    E: gary@backtoblackbooks.co.uk     t: @backtoblackBK



Veteran Member

Status: Offline
Posts: 42
Date:
Permalink Closed

Hi Gary

You may already have found the answers for your register, if not the attached file may help you.

The spreadsheet is based on the information you've made available. It's a way of addressing the depn lookup & value error.

To make it full proof there are lots of other things that can be done.

Hope it helps 

Brigitte



Attachments
__________________


Guru

Status: Offline
Posts: 506
Date:
Permalink Closed

That is an awesome end result!
Will have to pick that apart and fully understand it for myself! THANKS :D

__________________

Gary

W: www.backtoblackbooks.co.uk    E: gary@backtoblackbooks.co.uk     t: @backtoblackBK

Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us
Members Login
Username 
 
Password 
    Remember Me  
©2007-2024 The Book-keepers Forum (BKF). All Rights Reserved. The Book-keepers Forum (BKF) is a trading division of Bookcert Ltd. Registered in England Company Number 05782923. 2 Laurel House, 1 Station Rd, Worle, Weston-super-Mare, North Somerset, BS22 6AR, United Kingdom. The Book-keepers Forum and BKF are trademarks of Bookcert Ltd. This forum is a discussion forum only. There will usually be more than one opinion to any question and any posting should not be viewed as a definitive solution. No responsibility for loss occasioned to any person acting or refraining from action as a result of any posting on this site is accepted by the contributors or The Book-keepers Forum. In all cases, appropriate professional advice should be sought before making a decision. We reserve the right to remove any postings which are offensive, libellous, self-promoting or engaged in covert marketing. We will not notify users of removals. The views expressed in the forum posts are those of the individual and do not necessary reflect or agree with those of The Book-keepers Forum. Any offensive or unsuitable posts will be removed by the moderators. Any reader of this forum can request for a post to be looked into by sending an email to: bookcertltd@gmail.com.

Privacy & Cookie Policy  About