From jbartow at winhaven.net Thu Jul 7 21:50:46 2016 From: jbartow at winhaven.net (John R Bartow) Date: Thu, 7 Jul 2016 21:50:46 -0500 Subject: [Dba-office] conditional formatting in formulas Message-ID: <027401d1d8c3$879423b0$96bc6b10$@winhaven.net> Is there a way to color a row based on the value of a formula in one cell? Right now I just have row marked as a color using this rather simpleton formula: =IF(J3+K3>499,"Gold",(IF(J3+K3>299,"Silver",(IF(J3+K3>99,"Bronze",""))))) Would be better to color those rows instead. From jbartow at winhaven.net Thu Jul 7 21:50:46 2016 From: jbartow at winhaven.net (John R Bartow) Date: Thu, 7 Jul 2016 21:50:46 -0500 Subject: [Dba-office] Excel - pull data from cell In-Reply-To: <57518864.30038.2B6456DA@stuart.lexacorp.com.pg> References: <04e501d1bd4e$59cd2390$0d676ab0$@winhaven.net> <57518864.30038.2B6456DA@stuart.lexacorp.com.pg> Message-ID: <027901d1d8c3$87ffddd0$97ff9970$@winhaven.net> No, blush. -----Original Message----- From: Dba-office [mailto:dba-office-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, June 03, 2016 8:39 AM To: dba-office at databaseadvisors.com Subject: Re: [Dba-office] Excel - pull data from cell Am I missing something? That sounds like a standard Text To Column operation. Select all the rows in the 4th Column Select Data - Text to Columns Choose Delimited For the delimiter select"Other" and type in the slash. On 2 Jun 2016 at 23:13, John R Bartow wrote: > Hi All, > Another Excel question, I need to extrapolate the data in one cell > into separate cells. I have 3460 rows of data, of which the first 4 > columns data are all nicely pertaining to their column header and the > fifth column which is data clumped together and formatted like this: > Details WinHaven LLC / Prep / DESKTOP-CUV27BK - Agent version update: > Do not update > > Why they just didn't separate the 3 pieces into 3 columns (it's a .csv > dump from a database) I will never know, the company just got bought > out so I will never get them to make any customizations now! > > I need to extrapolate that data into one column for each data between > the / > > Any ideas? > > TIA > John B > > _______________________________________________ > Dba-office mailing list > Dba-office at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-office > _______________________________________________ Dba-office mailing list Dba-office at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-office From stuart at lexacorp.com.pg Fri Jul 8 00:23:40 2016 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 08 Jul 2016 15:23:40 +1000 Subject: [Dba-office] conditional formatting in formulas In-Reply-To: <027401d1d8c3$879423b0$96bc6b10$@winhaven.net> References: <027401d1d8c3$879423b0$96bc6b10$@winhaven.net> Message-ID: <577F38DC.17850.3EDBE6C0@stuart.lexacorp.com.pg> 1. Select cell A3. 2. Home - Conditional Formatting - Manage Rules 3. Create new rule = "Use a formula" 4. Set the formula to " = (($J3+$K3) > 499)" 5. Set the colour to gold. 6. Save the rule. 7. Select it 8. Click on the selector beside "Applies to" 9. Ctrl Ato select the whole sheet. 10. Enter. 11. Hit Apply. 12. Repeat steps 3 to 11 for the other two colours. On 7 Jul 2016 at 21:50, John R Bartow wrote: > Is there a way to color a row based on the value of a formula in one > cell? > > > > Right now I just have row marked as a color using this rather > simpleton formula: > > =IF(J3+K3>499,"Gold",(IF(J3+K3>299,"Silver",(IF(J3+K3>99,"Bronze","")) > ))) > > > > Would be better to color those rows instead. > > > > _______________________________________________ > Dba-office mailing list > Dba-office at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-office > From bryan at internode.on.net Fri Jul 8 00:55:23 2016 From: bryan at internode.on.net (Bryan Fitzpatrick) Date: Fri, 8 Jul 2016 15:55:23 +1000 Subject: [Dba-office] conditional formatting in formulas In-Reply-To: <027401d1d8c3$879423b0$96bc6b10$@winhaven.net> References: <027401d1d8c3$879423b0$96bc6b10$@winhaven.net> Message-ID: Something like this? Sub test() ActiveSheet.Range("R13").Select If ActiveCell > 499 Then x = ActiveCell.Row ActiveCell.EntireRow.Select Selection.Interior.Color = RGB(204, 153, 0) Else If ActiveCell > 299 Then x = ActiveCell.Row ActiveCell.EntireRow.Select Selection.Interior.Color = RGB(234, 234, 234) Else If ActiveCell > 99 Then x = ActiveCell.Row ActiveCell.EntireRow.Select Selection.Interior.Color = RGB(153, 102, 51) End If End If End If HTH */Bryan Fitzpatrick Mobile: 0418 618 469/* On 8/07/2016 12:50 PM, John R Bartow wrote: > Is there a way to color a row based on the value of a formula in one cell? > > > > Right now I just have row marked as a color using this rather simpleton > formula: > > =IF(J3+K3>499,"Gold",(IF(J3+K3>299,"Silver",(IF(J3+K3>99,"Bronze",""))))) > > > > Would be better to color those rows instead. > > > > _______________________________________________ > Dba-office mailing list > Dba-office at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-office > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2016.0.7640 / Virus Database: 4613/12576 - Release Date: 07/07/16 > > ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2016.0.7640 / Virus Database: 4613/12576 - Release Date: 07/07/16 From ssharkins at gmail.com Fri Jul 8 06:47:26 2016 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 8 Jul 2016 07:47:26 -0400 Subject: [Dba-office] conditional formatting in formulas In-Reply-To: <027401d1d8c3$879423b0$96bc6b10$@winhaven.net> References: <027401d1d8c3$879423b0$96bc6b10$@winhaven.net> Message-ID: <003601d1d90e$803e6f80$80bb4e80$@gmail.com> John, but the literal formula or the formula's result? Susan H. Is there a way to color a row based on the value of a formula in one cell? Right now I just have row marked as a color using this rather simpleton formula: =IF(J3+K3>499,"Gold",(IF(J3+K3>299,"Silver",(IF(J3+K3>99,"Bronze",""))))) Would be better to color those rows instead. _______________________________________________ Dba-office mailing list Dba-office at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-office From jbartow at winhaven.net Mon Jul 11 21:18:25 2016 From: jbartow at winhaven.net (John R Bartow) Date: Mon, 11 Jul 2016 21:18:25 -0500 Subject: [Dba-office] conditional formatting in formulas In-Reply-To: <003601d1d90e$803e6f80$80bb4e80$@gmail.com> References: <027401d1d8c3$879423b0$96bc6b10$@winhaven.net> <003601d1d90e$803e6f80$80bb4e80$@gmail.com> Message-ID: <033601d1dbe3$ac296c30$047c4490$@winhaven.net> The result of the formula or maybe better than that, the actual number values which the formula is evaluating. -----Original Message----- From: Dba-office [mailto:dba-office-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, July 08, 2016 6:47 AM To: dba-office at databaseadvisors.com Subject: Re: [Dba-office] conditional formatting in formulas John, but the literal formula or the formula's result? Susan H. Is there a way to color a row based on the value of a formula in one cell? Right now I just have row marked as a color using this rather simpleton formula: =IF(J3+K3>499,"Gold",(IF(J3+K3>299,"Silver",(IF(J3+K3>99,"Bronze",""))))) Would be better to color those rows instead. _______________________________________________ Dba-office mailing list Dba-office at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-office _______________________________________________ Dba-office mailing list Dba-office at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-office From jbartow at winhaven.net Mon Jul 11 21:18:25 2016 From: jbartow at winhaven.net (John R Bartow) Date: Mon, 11 Jul 2016 21:18:25 -0500 Subject: [Dba-office] conditional formatting in formulas In-Reply-To: References: <027401d1d8c3$879423b0$96bc6b10$@winhaven.net> Message-ID: <033701d1dbe3$ac7cbc50$057634f0$@winhaven.net> Thanks, haven't gotten this to work yet either but am still trying. -----Original Message----- From: Dba-office [mailto:dba-office-bounces at databaseadvisors.com] On Behalf Of Bryan Fitzpatrick Sent: Friday, July 08, 2016 12:55 AM To: dba-office at databaseadvisors.com Subject: Re: [Dba-office] conditional formatting in formulas Something like this? Sub test() ActiveSheet.Range("R13").Select If ActiveCell > 499 Then x = ActiveCell.Row ActiveCell.EntireRow.Select Selection.Interior.Color = RGB(204, 153, 0) Else If ActiveCell > 299 Then x = ActiveCell.Row ActiveCell.EntireRow.Select Selection.Interior.Color = RGB(234, 234, 234) Else If ActiveCell > 99 Then x = ActiveCell.Row ActiveCell.EntireRow.Select Selection.Interior.Color = RGB(153, 102, 51) End If End If End If HTH */Bryan Fitzpatrick Mobile: 0418 618 469/* On 8/07/2016 12:50 PM, John R Bartow wrote: > Is there a way to color a row based on the value of a formula in one cell? > > > > Right now I just have row marked as a color using this rather > simpleton > formula: > > =IF(J3+K3>499,"Gold",(IF(J3+K3>299,"Silver",(IF(J3+K3>99,"Bronze","")) > ))) > > > > Would be better to color those rows instead. > > > > _______________________________________________ > Dba-office mailing list > Dba-office at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-office > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2016.0.7640 / Virus Database: 4613/12576 - Release Date: > 07/07/16 > > ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2016.0.7640 / Virus Database: 4613/12576 - Release Date: 07/07/16 _______________________________________________ Dba-office mailing list Dba-office at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-office From jbartow at winhaven.net Mon Jul 11 21:18:25 2016 From: jbartow at winhaven.net (John R Bartow) Date: Mon, 11 Jul 2016 21:18:25 -0500 Subject: [Dba-office] conditional formatting in formulas In-Reply-To: <577F38DC.17850.3EDBE6C0@stuart.lexacorp.com.pg> References: <027401d1d8c3$879423b0$96bc6b10$@winhaven.net> <577F38DC.17850.3EDBE6C0@stuart.lexacorp.com.pg> Message-ID: <033801d1dbe3$ace0d550$06a27ff0$@winhaven.net> Thanks, didn't work but opened my eyes to some possibilities. -----Original Message----- From: Dba-office [mailto:dba-office-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, July 08, 2016 12:24 AM To: dba-office at databaseadvisors.com Subject: Re: [Dba-office] conditional formatting in formulas 1. Select cell A3. 2. Home - Conditional Formatting - Manage Rules 3. Create new rule = "Use a formula" 4. Set the formula to " = (($J3+$K3) > 499)" 5. Set the colour to gold. 6. Save the rule. 7. Select it 8. Click on the selector beside "Applies to" 9. Ctrl Ato select the whole sheet. 10. Enter. 11. Hit Apply. 12. Repeat steps 3 to 11 for the other two colours. On 7 Jul 2016 at 21:50, John R Bartow wrote: > Is there a way to color a row based on the value of a formula in one > cell? > > > > Right now I just have row marked as a color using this rather > simpleton formula: > > =IF(J3+K3>499,"Gold",(IF(J3+K3>299,"Silver",(IF(J3+K3>99,"Bronze","")) > ))) > > > > Would be better to color those rows instead. > > > > _______________________________________________ > Dba-office mailing list > Dba-office at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-office > _______________________________________________ Dba-office mailing list Dba-office at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-office From jbartow at winhaven.net Mon Jul 11 21:33:26 2016 From: jbartow at winhaven.net (John R Bartow) Date: Mon, 11 Jul 2016 21:33:26 -0500 Subject: [Dba-office] conditional formatting in formulas In-Reply-To: <577F38DC.17850.3EDBE6C0@stuart.lexacorp.com.pg> References: <027401d1d8c3$879423b0$96bc6b10$@winhaven.net> <577F38DC.17850.3EDBE6C0@stuart.lexacorp.com.pg> Message-ID: <033f01d1dbe5$c53abdd0$4fb03970$@winhaven.net> OK, this did the trick once I got the hang of it. Nice solution, thanks again. -----Original Message----- From: Dba-office [mailto:dba-office-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, July 08, 2016 12:24 AM To: dba-office at databaseadvisors.com Subject: Re: [Dba-office] conditional formatting in formulas 1. Select cell A3. 2. Home - Conditional Formatting - Manage Rules 3. Create new rule = "Use a formula" 4. Set the formula to " = (($J3+$K3) > 499)" 5. Set the colour to gold. 6. Save the rule. 7. Select it 8. Click on the selector beside "Applies to" 9. Ctrl Ato select the whole sheet. 10. Enter. 11. Hit Apply. 12. Repeat steps 3 to 11 for the other two colours. On 7 Jul 2016 at 21:50, John R Bartow wrote: > Is there a way to color a row based on the value of a formula in one > cell? > > > > Right now I just have row marked as a color using this rather > simpleton formula: > > =IF(J3+K3>499,"Gold",(IF(J3+K3>299,"Silver",(IF(J3+K3>99,"Bronze","")) > ))) > > > > Would be better to color those rows instead. > > > > _______________________________________________ > Dba-office mailing list > Dba-office at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-office > _______________________________________________ Dba-office mailing list Dba-office at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-office From jbartow at winhaven.net Mon Jul 11 23:00:44 2016 From: jbartow at winhaven.net (John R Bartow) Date: Mon, 11 Jul 2016 23:00:44 -0500 Subject: [Dba-office] conditional formatting in formulas In-Reply-To: <033f01d1dbe5$c53abdd0$4fb03970$@winhaven.net> References: <027401d1d8c3$879423b0$96bc6b10$@winhaven.net> <577F38DC.17850.3EDBE6C0@stuart.lexacorp.com.pg> <033f01d1dbe5$c53abdd0$4fb03970$@winhaven.net> Message-ID: <035f01d1dbf1$f799fb40$e6cdf1c0$@winhaven.net> Oddity appeared when I added one more formatting rule for the < 100. It would not format the entire data range. So I tried > 0 and it changed what it wouldn't format. Weird. -----Original Message----- From: Dba-office [mailto:dba-office-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Monday, July 11, 2016 9:33 PM To: stuart at lexacorp.com.pg; dba-office at databaseadvisors.com Subject: Re: [Dba-office] conditional formatting in formulas Importance: High OK, this did the trick once I got the hang of it. Nice solution, thanks again. -----Original Message----- From: Dba-office [mailto:dba-office-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, July 08, 2016 12:24 AM To: dba-office at databaseadvisors.com Subject: Re: [Dba-office] conditional formatting in formulas 1. Select cell A3. 2. Home - Conditional Formatting - Manage Rules 3. Create new rule = "Use a formula" 4. Set the formula to " = (($J3+$K3) > 499)" 5. Set the colour to gold. 6. Save the rule. 7. Select it 8. Click on the selector beside "Applies to" 9. Ctrl Ato select the whole sheet. 10. Enter. 11. Hit Apply. 12. Repeat steps 3 to 11 for the other two colours. On 7 Jul 2016 at 21:50, John R Bartow wrote: > Is there a way to color a row based on the value of a formula in one > cell? > > > > Right now I just have row marked as a color using this rather > simpleton formula: > > =IF(J3+K3>499,"Gold",(IF(J3+K3>299,"Silver",(IF(J3+K3>99,"Bronze","")) > ))) > > > > Would be better to color those rows instead. > > > > _______________________________________________ > Dba-office mailing list > Dba-office at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-office > _______________________________________________ Dba-office mailing list Dba-office at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-office _______________________________________________ Dba-office mailing list Dba-office at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-office From ssharkins at gmail.com Tue Jul 12 06:35:31 2016 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 12 Jul 2016 07:35:31 -0400 Subject: [Dba-office] conditional formatting in formulas In-Reply-To: <033601d1dbe3$ac296c30$047c4490$@winhaven.net> References: <027401d1d8c3$879423b0$96bc6b10$@winhaven.net> <003601d1d90e$803e6f80$80bb4e80$@gmail.com> <033601d1dbe3$ac296c30$047c4490$@winhaven.net> Message-ID: <000d01d1dc31$800c6820$80253860$@gmail.com> So this =IF(J3+K3>499,"Gold",(IF(J3+K3>299,"Silver",(IF(J3+K3>99,"Bronze",""))))) means: 1.) If J3+K3>499 range is gold 2.) If J3+K3>200 range is silver 3.) If J3+K3>99 range is bronze The trick is to get the conditional rules in the right order because all three rules can apply to the same value. So, you select the range you want highlighted, click Conditional Formatting, choose New Rule, choose the Formula option in the top pane, and enter the formula =$J3+$K3>99 Click Format, choose the color, Ok yourself out. Repeat using the formulas =$J3+$K3>200 =$J3+$K3>499 I'll send you a sample sheet. Susan H. -----Original Message----- From: Dba-office [mailto:dba-office-bounces at databaseadvisors.com] On Behalf Of John R Bartow Sent: Monday, July 11, 2016 10:18 PM To: dba-office at databaseadvisors.com Subject: Re: [Dba-office] conditional formatting in formulas Importance: High The result of the formula or maybe better than that, the actual number values which the formula is evaluating. -----Original Message----- From: Dba-office [mailto:dba-office-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, July 08, 2016 6:47 AM To: dba-office at databaseadvisors.com Subject: Re: [Dba-office] conditional formatting in formulas John, but the literal formula or the formula's result? Susan H. Is there a way to color a row based on the value of a formula in one cell? Right now I just have row marked as a color using this rather simpleton formula: =IF(J3+K3>499,"Gold",(IF(J3+K3>299,"Silver",(IF(J3+K3>99,"Bronze",""))))) Would be better to color those rows instead. _______________________________________________ Dba-office mailing list Dba-office at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-office _______________________________________________ Dba-office mailing list Dba-office at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-office _______________________________________________ Dba-office mailing list Dba-office at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-office