Hi DrChris,
You seem to have to many parenthesis (), but it seems to work OK for me?
Hi DrChris,
You seem to have to many parenthesis (), but it seems to work OK for me?
oldchippy
-------------
![]()
![]()
Blessed are those who can give without remembering and take without forgetting
If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.
Click here >>> Top Excel links for beginners to Experts
Forum Rules >>>Please don't forget to read these
i thought you could only nest upto 7 if's?????![]()
Hi Chippy
Cheers for the reply
Indeed it does, but adding another IF condition (for september for example), doesnt seem to work!
=IF(K29=Jan!$B$34,Jan!$D$34,IF(K29=Feb!$B$31,Feb!$D$31,IF(K29=Mar!$B$33,Mar!$D$33,IF(K29=April!$B$32,April!$D$32,IF(K29=May!$B$34,May!$D$34,IF(K29=June!$B$32,June!$D$32,IF(K29=July!$B$33,July!$D$33,IF(K29=August!$B$34,August!$D$34,IF(K29=Sept!$B$31,Sept!$D$31,"")))))))))
Any ideas?
JustinBram: Looks like its 8![]()
Thing is, I need to do that for every month: i.e 12 IFs!
OK, another approach is a VLOOKUP may be?
Some links re if statements
However if you need more than 7 if's you might be better off setting up a table and doing a vlookup
http://www.usd.edu/trio/tut/excel/adv/26if.html
http://www.cpearson.com/excel/nested.htm
http://www.j-walk.com/ss/excel/usertips/tip080.htm
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Maybe a macro might be better.
See attached example. Code from this link
http://www.ozgrid.com/VBA/VlookupAllSheets.htm
VBA Noob
that is perfect
i even said 'wow' a bit loudly in the office when i got it to work and ppl were looking at me funny
thank u both oldchippy and vba_noob
Last edited by drchris; 10-12-2007 at 09:28 AM.
Glad you got a couple of solutions for your problem.
VBA Noob
Always glad to help - thanks for the feedbackOriginally Posted by drchris
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks