Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 312
Default Formula Range

How can I make the below formula range consist of columns B and D, still
using the bottow row finder of .End(xlup) ? Thanks!

Set frng = Range("B5:B" & Range("D65536").End(xlUp).Row)


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Formula Range


change B5:B to B5:D I believ

--
duan

-----------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...fo&userid=1162
View this thread: http://www.excelforum.com/showthread.php?threadid=26930

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 312
Default Formula Range

But that will include C, which I don't want it to....

"duane" wrote in message
...

change B5:B to B5:D I believe


--
duane


------------------------------------------------------------------------
duane's Profile:

http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=269304



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Formula Range

Set frng = Union(Range("B5:B" & Range("B65536").End(xlUp).Row), _
Range("D5:D" & Range("D65536").End(xlUp).Row))


--

HTH

RP

"Steph" wrote in message
...
How can I make the below formula range consist of columns B and D, still
using the bottow row finder of .End(xlup) ? Thanks!

Set frng = Range("B5:B" & Range("D65536").End(xlUp).Row)




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Formula Range


I do not know how to define a discontinuous range

--
duan

-----------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...fo&userid=1162
View this thread: http://www.excelforum.com/showthread.php?threadid=26930



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 312
Default Formula Range

Thanks Bob!

"Bob Phillips" wrote in message
...
Set frng = Union(Range("B5:B" & Range("B65536").End(xlUp).Row), _
Range("D5:D" & Range("D65536").End(xlUp).Row))


--

HTH

RP

"Steph" wrote in message
...
How can I make the below formula range consist of columns B and D, still
using the bottow row finder of .End(xlup) ? Thanks!

Set frng = Range("B5:B" & Range("D65536").End(xlUp).Row)






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I enter formula sum(range+range)*0.15 sumif(range=3) tkw Excel Discussion (Misc queries) 2 October 1st 09 09:17 PM
conditional formula: sum a range if text present in another range NeedAdvice777 Excel Discussion (Misc queries) 10 August 29th 06 04:51 PM
formula to sort a range so that it matches the exact rows of a column that is outside that range? steveo Excel Discussion (Misc queries) 1 June 18th 06 02:05 AM
Macro to input formula in range based on another range Peter Atherton Excel Programming 0 October 9th 03 12:47 AM
Range.Formula and Range question using Excel Automation [email protected] Excel Programming 0 September 19th 03 04:53 AM


All times are GMT +1. The time now is 07:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"