»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 10-25-2003, 05:06 PM   #1 (permalink)
Registered User
 
MrPurple's Avatar
 
Join Date: Jan 2002
Location: Staten Island, NY
Posts: 633
MrPurple is on a distinguished road
Send a message via ICQ to MrPurple Send a message via AIM to MrPurple
Need Help with Excel Formula

Hey all,

I want to give cells conditional formating.
What I want is to make it so that if the preceding cell has a comment attached to it, the cell next to it will change its color.

Is this possible?


Thanks alot guys

__________________
-=Marcin=-
MrPurple is offline   Reply With Quote
Old 10-26-2003, 06:29 PM   #2 (permalink)
Registered User
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: New York
Posts: 1,588
VHockey86 is on a distinguished road
I'm pretty sure you could do it with the excel visual basic editor, but I'm not sure if a simple IF function in excel would do it.
VHockey86 is offline   Reply With Quote
Old 10-26-2003, 06:33 PM   #3 (permalink)
Registered User
 
MrPurple's Avatar
 
Join Date: Jan 2002
Location: Staten Island, NY
Posts: 633
MrPurple is on a distinguished road
Send a message via ICQ to MrPurple Send a message via AIM to MrPurple
hmm I was afraid of that.
Well thanks for the help anyway
__________________
-=Marcin=-
MrPurple is offline   Reply With Quote
Old 10-27-2003, 06:52 AM   #4 (permalink)
Registered User
 
Join Date: Oct 2003
Location: Ohio
Posts: 41
DrDave1958 is on a distinguished road
You can find out here.

http://216.92.17.166/board2/


-Dave-
DrDave1958 is offline   Reply With Quote
Old 10-27-2003, 07:15 AM   #5 (permalink)
Guest
Guest
 
Posts: n/a
Epidemic is our resident king of Excel, you should ask him before you give up.
  Reply With Quote
Old 10-27-2003, 11:11 AM   #6 (permalink)
Registered User
 
Join Date: Oct 2003
Location: Ohio
Posts: 41
DrDave1958 is on a distinguished road
After some research.........

Put the following function in a module of the spreadsheet

Function has_comment(mycell As Object) As Boolean

If mycell.Comment.Visible = False Then
has_comment = False
Else
has_comment = True
End If
End Function


Then set the conditional format formula to

=NOT(ISERROR(has_comment(A1))) (for cell A1)



-Dave-
DrDave1958 is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 06:07 AM.