if statement microsoft excel- if column a has bold text then sum column c
Hi,Here is what I am trying to do! If the text in Column A1:A45 is bold, then sum the corresponding rows in Column C1:C45. So if Cell A1's text is bold, A5 is bold and A7 is bold, then add the value of...
View ArticleSum bold cells
If there is some condition that makes the cells bold then perhaps you could use formulas however if the cells are manually made bold you are stuck using a UDF. In a module place the following...
View ArticleReponse To Answer
I appreciate you taking the time to help me, so thank you! I tried doing this but it keeps shooting out a Name? error at me. Any idea why?
View ArticleAdd some of the items in a list
While you can do this with VBA I would just use a SUMIFS() and a helper column (it is a lot simpler). Put a 1 in the helper column next to the required amounts and then 'sum' the amts using SUMIFS()....
View ArticleReponse To Answer
The code works as advertised under Excel 2010. If that is the version of excel you are using hit [ALT][F11] to get to the VBA editor the select Module from the Insert menu. Type the code in, flip back...
View ArticleReponse To Answer
@Charles, I unfortunately am using excel 2007. Is that why it is not working?@Cliff. That is exactly what I ended up doing. I just couldn't wrap my head around how to do if statements with bold font vs...
View ArticleThe answer to your Name? message depends
on where/when it pops up. Are you in the VB editor or in the worksheet? I really don't think the difference between 2007 and 2010 would matter wrt code...
View ArticleReponse To Answer
The error occurs in the worksheet. Everything seems good in the VB editor
View Article
More Pages to Explore .....