织梦CMS - 轻松建站从此开始!

欧博ABG官网-欧博官方网址-会员登入

欧博官网Christmas Tree Excel [SOLVED]

时间:2025-12-25 05:54来源: 作者:admin 点击: 1 次
Hi All, I followed some online instructions to create a Christmas tree (I can

12-16-2025, 09:11 AM

Meatros

Meatros is offline

Registered User

Join Date   12-16-2025   Location   Acworth, GA   MS-Off Ver   Microsoft 365 Apps for enterprise   Posts   3  

Christmas Tree Excel

Hi All,

I followed some online instructions to create a Christmas tree (I can't post links yet), however it's not working as intended. I hit F9 and nothing happens. It's supposed to change colors (based on the formula that selects random numbers).

Also, is it possible to get a star on top (like the icon in AI4, roughly)? Every time I move the tree down, it changes the formula and I don't know how to update it.

Attached Files

Attached Files

Reply With Quote

Register To Reply

12-16-2025, 09:17 AM

zbor

zbor is offline

Forum Moderator

zbor's Avatar

Join Date   02-10-2009   Location   Croatia   MS-Off Ver   365 ProPlus   Posts   16,262  

Re: Christmas Tree Excel

Change colors for me...

To move tree down use this in C1 (ROWS rather than ROW):

=IF(ABS(COLUMN($N1)-COLUMN())<=ROWS($C$1:$C1)-1,RANDBETWEEN(1,10),"")

Never use Merged Cells in Excel

Reply With Quote

Register To Reply

12-16-2025, 09:18 AM

BadlySpelledBuoy

BadlySpelledBuoy is offline

Forum Expert

BadlySpelledBuoy's Avatar

Join Date   06-14-2013   Location   East Sussex, UK   MS-Off Ver   365   Posts   8,094  

Re: Christmas Tree Excel

Insert a new row 1 above the tree then amend your formula so where it says ROW()-1 it now says ROW()-2.

Not sure about the changing of colours as it works fine for me when I press F9.

BSB

Reply With Quote

Register To Reply

12-16-2025, 09:21 AM

Name invalid

Name invalid is offline

Forum Contributor

Join Date   04-22-2025   Location   Germany   MS-Off Ver   365   Posts   219  

Re: Christmas Tree Excel

Did your source explain that long formula? What does it differently than just RANDBETWEEN() on its own? As for your question, the colour change works for me (F9 or any event that triggers a recalculation).

I don't know how to get the star, though (or at least not with the colours).

EDIT: I thought the OP wanted the top most ball to be star instead of a ball and not just a static star image(?)
Serious question, though, what's that long a** formula for?

2nd EDIT: Ahhh, I see! The formula is everywhere, not just in the cells of the tree shape, my bad.

Last edited by Name invalid; 12-16-2025 at 09:30 AM.

Reply With Quote

Register To Reply

12-16-2025, 09:26 AM

Meatros

Meatros is offline

Registered User

Join Date   12-16-2025   Location   Acworth, GA   MS-Off Ver   Microsoft 365 Apps for enterprise   Posts   3  

Re: Christmas Tree Excel

Huh, so zbor's formula works and I can move it down.

That said, I hit F9 and nothing happens...

Reply With Quote

Register To Reply

12-16-2025, 09:36 AM

zbor

zbor is offline

Forum Moderator

zbor's Avatar

Join Date   02-10-2009   Location   Croatia   MS-Off Ver   365 ProPlus   Posts   16,262  

Re: Christmas Tree Excel

Quote

Originally Posted by Meatros

That said, I hit F9 and nothing happens...

Works for me..
Did you Enabled changes (if asked at the start)?

Reply With Quote

Register To Reply

12-16-2025, 09:58 AM

Meatros

Meatros is offline

Registered User

Join Date   12-16-2025   Location   Acworth, GA   MS-Off Ver   Microsoft 365 Apps for enterprise   Posts   3  

Re: Christmas Tree Excel

I don't think I was asked.

Reply With Quote

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2025-12-26 08:12 最后登录:2025-12-26 08:12
栏目列表
推荐内容