Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2012, 02:21 AM
gsrikanth gsrikanth is offline from two cell to one? Windows XP from two cell to one? Office XP
Competent Performer
from two cell to one?
 
Join Date: Dec 2011
Posts: 133
gsrikanth is on a distinguished road
Default from two cell to one?

if cell 1 contains


aero refer to ='Page 1'!$A$1

and cell 2 conains
plane refer to ='Page 1'!$B$1

I want to get ='Page 1'!$B$1 in this cell are "aeroplane"

avoiding taking right side column and concatenate
Reply With Quote
  #2  
Old 01-10-2012, 02:51 AM
hemant.behere hemant.behere is offline from two cell to one? Windows XP from two cell to one? Office 2007
Novice
 
Join Date: Jan 2012
Posts: 2
hemant.behere is on a distinguished road
Default avoid duplicete record and merge the record with the existed record

i have two worksheets both
Reply With Quote
  #3  
Old 01-10-2012, 03:25 AM
gsrikanth gsrikanth is offline from two cell to one? Windows XP from two cell to one? Office XP
Competent Performer
from two cell to one?
 
Join Date: Dec 2011
Posts: 133
gsrikanth is on a distinguished road
Default

Sub Test()
Dim rngToChange As Range
Dim iMultiplier As Integer
Dim iDivisor As Integer

With Sheets("Sheet1")

iMultiplier = .Range("A1").Value
iDivisor = .Range("A2").Value
.Range("A2").Value = iMultiplier / iDivisor
Set rngToChange = .Range("B1:B" & .Cells(Rows.Count, "B").End(xlUp).Row)

.Range("A2").Copy
rngToChange.PasteSpecial _
Paste:=xlAll, Operation:=xlMultiply, SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False

End With

End Sub

it will help if "/" is replace concatenate
any other no vba just do this plz

Last edited by gsrikanth; 01-10-2012 at 04:54 AM.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I delete the content of a cell in column if the cell value is more than 1000? Learner7 Excel 2 06-27-2011 05:44 AM
Move data from 1 cell to another cell Catalin.B Excel 1 06-25-2011 12:51 PM
How can I fill cell color starting from Cell D5 using Conditional formatting instead Learner7 Excel 0 07-08-2010 05:50 AM
How can I make a cell color RED under the Today's date cell? Learner7 Excel 2 07-08-2010 12:52 AM
Auto-populate an MS Word table cell with text from a diff cell? dreamrthts Word Tables 0 03-20-2009 01:49 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:22 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft