Does IF Work With Text

Jan 5, 2012

i want to link one cell to another sheet if that cell is not blank. in other words if A2 says Decor, then I want to have the data on Sheet1 in A2 link to Sheet2 and say Decor. i thought i was clever and in the cell i wanted the link to go i wrote

=IF(Sheet1!A2>"",Sheet1!A2)

but it didn't work....

View 7 Replies


ADVERTISEMENT

Text Box Function Won't Work

Nov 21, 2008

I can't get the text box function to work on this spreadsheet.

View 2 Replies View Related

Text Limitation Work Around?

Feb 15, 2010

I had a happy macro that copy and pasted sheets in an output folder for all excel files from a target file that included the desired changes. it worked fine. then i realized that when pasting a sheet, the text is limited to 250 characters, so an important portion of my sheet (some instructions in various cells) was not coming over. So i created the following which will copy the columns, but some of the row formatting is different and doesn't line up. my questions:

-is there a better way around this text limitation?
-if not, is there a way to copy the row formats for this section and include in my macro?
-is there a way to copy the cells (all or a range) themselves while using "ThisWorkbook", thereby including all the appropriate formating? it seems to not like to do that.

‘Copy columns from target sheet

Sub Perf_rev_subfolder_replace()
'Update the constant here if necessary
Const sOutputFolder As String = "M:ODPerf review2010 oolsTest folder est"
With Application
. ScreenUpdating = False
.DisplayAlerts = False
.EnableEvents = False
End With
For Each fl In CreateObject("scripting.filesystemobject").GetFolder(sOutputFolder).Files
If InStr(fl, "3.0") > 0 Then
With Workbooks.Open(fl..............................

View 2 Replies View Related

Vlookup Wont Work With The Text Ax??

Jan 7, 2009

I am using the vlookup command, I have a table with 2 columns, the left one has text and the right one has numbers in currency. the vlookup works for all the text bar one, which is AX.

View 5 Replies View Related

How Text Boxes Work In Conjunction With CommandButton

Dec 28, 2009

I am trying to make a calculator inside of Excel...learning how Text Boxes work in conjunction with CommandButton. I am trying to code the button to display inside of the text box. I have never coded a text box before to do anything like.

note: For right now i am just looking at being able to click on a button [numbered 0-9] and have them dsplayed inside the text box. After that I want to be able to set up an addition, subtraction, etc button to actually have the math done.
(ie...if Button 1 is clicked, 1 will be displayed, if Button 2 is clicked the display will adjust to show 12, etc etc)

View 11 Replies View Related

VBA Left Function Doesn't Work With Text?

Mar 23, 2012

HTML Code:
If Left(Range("H18"), 7) = A23C567 Or Left(Range("H18"), 7) = A65C321 Then
ActiveSheet.Cells(6, 7).Value = "Business and Private Banking"
End If

Im trying top use the above bit of code and it does not work when the criteria is Text , so if I simply change the above to =1234567 it works fine -- But I need it to be alpha numeric

View 6 Replies View Related

Text Or Number Formatting For VLOOKUP To Work?

Aug 4, 2012

My problem is that my VLOOKUP formula will not return any data when it doesn't like the format of the data it's looking up.

Example: I have a spreadsheet that displays revenues earned by assets.Every month I export a table of data from an accounting software program with (a) asset numbers, (b) invoice date, and (c) monthly revenues.Then I copy the data into Tab 2 of my spreadsheet.On Tab 1 of the spreadsheet there is a table that lists Assets 100 through 120. Column A has all the asset numbers.Each month it varies as to which assets earned revenue and which one's did not. Usually between 10 and 15 assets earn revenue in any given month and about 5 do not earn revenue.On Tab 1 there is a column with VLOOKUP formulas that looks up the asset number in column A of Tab 1 and points to Tab 2 where the data that was exported from the accounting software program is located.Let's say that in July 2012 that Asset 1001 earned $35,000.On certain months, the VLOOKUP formula looks over to tab 2 and "returns" the $35,000 revenue with no problem.On other months, it will not return anything, apparently it does not like the formatting and does not "recognize" the asset number.

View 7 Replies View Related

Find Method Doesn't Work With Some Text

Jul 24, 2006

I have a spreadsheet with data similar to the following:

12111000 MILK, COW'S, FLUID, LOW PERCENT
27313010 BEEF, NOODLES & VEG (W/ CARROTS/DK GREEN), NO SAUCE
11100000 MILK, NFS
11111000 MILK, COW'S, FLUID, WHOLE

If I use the following code to pass in a string variable and then attempt to find the string it never sees the text in line 2; or any line that contains (). The code is simply a test to try and figure out what i'm doing wrong. The actual goal is to search the entire sheet for text similar to that entered in by the user and then copy every row that contains similar text into another worksheet.

Sub CopyStuff()
strVariable = "car" 'I have tried "*car*" also
With Worksheets(1). Range("b1:b500")
Set c = .Find(strVariable, LookIn:=xlValues)
If Not c Is Nothing Then
firstaddress = c.Address
Do
Set c = .FindNext(c)
MsgBox (test)
Loop While Not c Is Nothing And c.Address <> firstaddress
test = c.Address
End If
End With
End Sub

View 9 Replies View Related

Create A Text Link To Other Cells Within A Work Book

Aug 3, 2009

I know how to create a text link to other cells within a work book but how can I create a button which will do the same?

View 2 Replies View Related

Text-to-Columns Doesn't Work Well When Column Is Selected

Apr 15, 2013

Anyways, the issue is that when I have some cells selected then use the text-to-columns, it works fine.. but when I select an entire column, it "acts a fool"...

I made this video to show the effect on my computer.

View 14 Replies View Related

Excel 2010 :: Formula That Will Work With Text And Numbers?

Dec 10, 2013

I am working in Excel 2010 (Windows 8) and am having real problems trying to find a function/formula that will work with both numbers and text. I am trying to identify if the contents of Col A cells and Col C cells on each row are duplicated within a worksheet, and if they are, to add a 'J'.

(Column A is a list of numerical company codes and Column C is a list of adviser codes using the letter A-G. If a company ID code has more than one of the same adviser codes referenced to it, it is termed 'Joint', hence the 'J').

The formula I've used is: =IF(A2:C2, FREQUENCY>1, "J")

But it tells me 'numbers only'.

View 4 Replies View Related

Label Controls Whose Caption Is Set From Text From A Work Sheet

Nov 23, 2007

I have a label control whose caption is set from text from a work sheet
How can I set the text of the caption to bold

View 9 Replies View Related

Work Out A Formula For My Spreadsheet Which I Use To Work Out Cutting Lists For Timber Frames

Jan 11, 2009

i need to work out a formula for my spreadsheet which I use to work out cutting lists for timber frames. I need it to work out if the width of a job is for eg 2400mm i need to work out how many timber studs I need so the space between each stud is between 400mm and 500mm and this will need to work for a range of different sizes of frames. I have it written at the moment and it just devides the width by 400 and gives me a amount of studs but it would work much better if it could space them between 400 & 500.

View 4 Replies View Related

Work Accurately With Times To Calculate The Work Progress Of The People In The Workshop

Mar 3, 2009

In a project i am compiling i need to work accurately with times to calculate the work progress of the people in the workshop thus....here goes....

I have in work book #1 (7) sheets mon to fri + complete week + a sheet where all job numbers are collected.

From monday to friday the workmen log their times as a start time and a end time. This has to be then calculated to a total hours:mins spent per job, wich in turn then has to be calculated to a total hours:mins spent per day. And the on the complete week sheet recalculated as a total time worked per week.

View 9 Replies View Related

How To Get A Macro To Work With Any Work Book Name

Aug 24, 2009

i have a made a macro that copies info to a new sheet now that is working great but if i change the name of the work book it wont work any more so i need the macro to work with what ever name i give the workbook

the current name is

AVERAGE PRICE (update 2009) Mimmos Armico 170809.xls

i have attached the code in notepad ...

View 8 Replies View Related

Make To Display (0), Instead Of (-0,02) When I Just Do Other Work Than Cad Work

Feb 13, 2010

In column J, Cad Hrs. How to make to display (0), instead of (-0,02) when I just do other work than Cad Work? I need to separate type of work according to price hour, overtime, and so on.

View 2 Replies View Related

Copying A Certain Range In A Work Sheet To Another Existing Work Sheet Using VBA

Dec 29, 2009

I have a range of cells in a work sheet "sheet 1 " my objective is to filter this range according to certain criteria (i ve succeeded to do this ) yet what i want to do now is copy this data to another existing worksheet in a certain range .

note :the existing worksheet to which i 'll copy the filtered data has some cells out of the range that i dont want to over write ..

Simply :how to copy a selected range of cells in a work sheet to already existing work sheet in a specific range aswell .

View 9 Replies View Related

Copy A Formula Across Several Work Sheet And Have The Formula Always Take Data From Previous Work Sheet

Jan 2, 2009

I am want to copy a formula across several work sheet and have the formula always take data from previous work sheet.

2) I am working with this formula =C12+INDIRECT((MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256)-1)&"!"&"C12")

and it comes from this thread http://www.excelforum.com/excel-gene...orksheets.html. I have included a worksheet attachment that has explanations

View 2 Replies View Related

2nd IF Does Not Work

Feb 1, 2009

Following code has 2 IF statements , the code runs the way it is and the first IF works perfectly, but the second IF does not work.

View 3 Replies View Related

Look For / Add Up And Work Out Average Of Value

Dec 20, 2013

screenshot.jpg

Ok, so from the attached picture (screenshot.jpg), you will see a data export of staff losses.

On the table to the right, i need cell G2 to take the ID from cell F2 and then search column A and add up every time there is negative number in column B.

So if staff ID has -15 , -15, -10 and -10 in the first table, their summary on the right table will show -50

(PS, i know it says AVERAGE LOSS) but i just need it to be the total. So basically, from the loss log on the left, it just counts the total losses occurred by each individual staff member on the summary table to the right.

View 2 Replies View Related

Tab To Work Automatically

Nov 16, 2008

Is there any way that Tab should automatically jump to next column, after the entry has been made.

I have only one number (one digit) per column. I wish that when I enter the digit the tab should go automatically to next column. And also if it is possible that tab may miss the blank column and go to the next where the entry is to be made.

View 7 Replies View Related

MIN & MAX VBA Commands Not Seeming To Work

Dec 4, 2009

I would like someone to explain the reason why when the program is run, the maximum value in column S successfully is selected by being colored in pink, but the minimum in column R between those pink max's (indicated by the entire row outlined in red) is not the minimum.

In other words, look at the numbers in column R. Only the 14.08 rows are supposed to be boxed in red. I can't understand why the 30.08 and the 46.08 are boxed in red??? And puzzling to me is why the 46.08 near the top are boxed, yet the 46.08 near the bottom are not boxed.

View 7 Replies View Related

Set Up A 6 Day Work Week

Aug 10, 2006

I normally use the WORKDAY function in order to create an involved scheduling
program. However, I have no idea how to create a formula that would count
Saturdays as a workday. I usually type in one date and then the dates kick
out to an end date several months later. How do I create a formula to
include Saturdays on a daily projection (e.g. A1=8/12/06, A2=8/14/06,
A3=8/15/06,etc...)?

View 9 Replies View Related

IF Statement Does Not Work..?

Nov 5, 2008

IF statement does not work?I have a chart on my sheet like so: (it gives me rates of pay)

View 3 Replies View Related

UDF Work In Only One Workbook?

Jul 23, 2013

I have some user defined function in an .xlam file that works.

Right now since that .xlam file doesn't auto open. I have a button on specific workbooks that will open that xlam so all the udfs work.

Is there a way to embed the udfs into a specific workbook so that workbook is a standalone without the need for opening a separate xlam file?

View 7 Replies View Related

Work With Data

Nov 15, 2006

I get the following sent to me on a daily basis and I would like to format it so that I can utilize it.

I get this:

GROFKCTotalCalls:3
TotalOrders:0
808-5600Calls:3
UNI1Orders:0

GROHJBTotalCalls:436
TotalOrders:75
3-Nov644-6200Calls:225
UNI1Orders:42
3-Nov646-7979Calls:76
UNI2Orders:15
3-Nov700-2900Calls:89
UNI4Orders:12

What I need is this:

Phone Calls Orders
808-5600 3 0
644-6200 225 42
646-7979 76 15
700-2900 89 12

How would you work with the data I get to produce what I need??? I know a macro can format the data, but maybe there is something else I can utilize that I'm not aware of.

View 9 Replies View Related

If Not IsDate Seems Not To Work

Apr 15, 2007

I have the following:

Private Sub TextBox1_AfterUpdate()
'//Check for valid date
If Not IsDate(TextBox1) Then
Me.TextBox1 = ""
'Show SplashForm2 if not date
SplashForm2.Show
Me.TextBox1.SetFocus
End If
End Sub
I thought this was working but I put 22/07 in TextBox1 and stepping through it it goes from the "If Not statement" to the "End If"

Don't know why it is not recognizing that it is not a date. It is missing the back slash.

View 9 Replies View Related

Short Cut Does Not Work

Jul 28, 2008

I wrote a little macro and put in into presonal workbook. I cant seem to get the short cut to work. When I got into " Tools > Macro > Macros > Options" and put in a letter that I want to use for short cut it does not work.

I am trying to run this macro in another workbook.

View 9 Replies View Related

How To Work Out Turnover

Nov 19, 2008

i need to work out employee turnover in excel has anyone got any useful tips?

i have a spread sheet with start and end dates so i need to work out who was in the company etc

View 9 Replies View Related

Macro Not Work On Another Tab

Feb 4, 2009

To run a macro from the first tab of the workbook but have it do it work on another tab.

In the workbook in question I have a tab called "input" were certain information in updated and is linked or used in formulas on other tabs. Some of the tabs have macros that do various functions. I would like to set up one macro button on the "input" tab that would run the macros on the other tabs instead of having to run each one individually from its own tab.

Below is on of the macros that I would like to run from the "input" tab and have it update the "AP Accrual" tab

Sub CopyPriorMonthAccruals()
ActiveCell.FormulaR1C1 = "=EOMONTH(Input!R[5]C,-1)"
Columns("L:L").Select
Selection.Copy
Columns("Y:Y").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
Range("B3").Select
ActiveCell.FormulaR1C1 = "=EOMONTH(Input!R[5]C,0)"................................

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved