Referencing different columns in Numbers 3.0
Hello,
I am refernecing differnt columns on differnt sheets, for eample I am typing =A1 in column D and copying and pasting the whole column to have D match A. The problem I am having is that some of the cells are blank in column A and need to stay that way when mimiced , but it is inserting an "0" in the coorisponding colmn D cells. Is there any way to have it blank also?
Thank you,
Manny
manny,
tp refer to a cell in a different sheet and table you use the form:
<SHEET_NAME>::<TABLE_NAME>::<CELL>
so if the sheet if named "Sheet 1"
and the table is named "Table 2"
and the cell you want to reference is A1
you would enter "=Sheet 1::Table 2::A1" without the double quotes
So...
=if(isblank(A), "", A)
should be
=if(isblank(Sheet 1::Table 2::A1), "", Sheet 1::Table 2::A1)
Similar Messages
-
Separate addresses into different columns in numbers
I am migrating some customer data from Front Desk into Infusionsoft. Front Desk has exported the addresses into a single column but I need the addresses separated into 4 separate columns: Street Address, City, State, Zip Code. How can I accomplish this?
I see the problem. That's not so easy because the addresses are not uniform. Some have a comma between address and city, and some have a linefeed.
If you are using Numbers 3 then the script below should help. To use it:
Copy-paste the script into Script Editor (in Applications > Utilities)
Select the cells in the column with the addresses you want to split
With the cells selected click the "run" button in Script Editor, and wait for the notification to paste.
Click once in the top-left cell of the range where you want to paste the values.
Type command-v to paste.
If all goes well, you should get something like this:
If you have zip codes with leading zeros, first format that column as text before pasting the results from the script.
It's better to not have blank rows in the middle of the data, but the script may be able to handle that gracefully.
If you have problems, post a screenshot of results and some adjustments to the script should do the trick. This works in Numbers 3. If you're still using Numbers 2, then the script will need modification.
SG
tell application "Numbers"
tell document 1's active sheet
tell (first table whose selection range's class is range)
tell selection range
set pasteStr to ""
repeat with c in cells
set v to c's value
set pasteStr to pasteStr & my parseAddress(v)
end repeat
end tell
end tell
end tell
end tell
set the clipboard to pasteStr
display notification "Click a cell once and command-v to paste"
to parseAddress(s)
try
set zip to s's word -1 -- last "word"
set state to s's word -2 -- second to last word
set AppleScript's text item delimiters to {",", linefeed}
set sParts to s's text items
if sParts's length = 3 then
set street to sParts's item 1
set city to sParts's item 2
else
set street to sParts's item 1 & " " & sParts's item 2
set city to sParts's item 3
end if
set AppleScript's text item delimiters to ""
return street & tab & city & tab & state & tab & zip & return
on error
return return -- a "blank" for that line
end try
end parseAddress -
Referencing different columns from different groups
Hi all,
I created a formula column in a group , say g1. This formula column references in a bind reference fashion one column from g1 and another column from another group , say g2. And when I run the report then there is an error because of the external reference from group g2. So how can I reference both the two columns because I must calculate something from both of the two columns !
Thank you very much indeed.Hi,
Here i'm facing similar problem.
I have a query Q1 which will get data in two columns p_plan, p_real. And I have another Q2 which will bring the data in two columns m_plan, m_real. Now i want to display the difference of (p_plan - m_plan) and (p_real - m_real).
Since these fields for which the diff should be calculated are present in two different groups, std error "below Frequency error is thrown.
Any advice pls -
I have a column in a Numbers document that currently contains a number and that number is different in different columns. I want to add the words "Pack Qty" before each number in the column. How do I do that? I'm using Numbers '09 on a brand new Macbook Pro. Thanks!
In an adjacent column add the formula:
="Pack Qty: "&<CELL>
where <CELL> is the cell in the same row where the quantity is,
Like:
E2="Pack Qty: "&D2
select, and hold, the little circle at the bottom right corner of the selction, then drag down -
How can I split these numbers 05/24/2014,"55","15","49","16","28","18","2", pnto different columns?
replace:
with a tab
copy the text:
05/24/2014,"55","15","49","16","28","18","2"
into a text box, then replace the "," with a single tab and replace the ," with a tab, then replace ", with a tab
then copy, then select a cell, then paste
05/24/2014,"55","15","49","16","28","18","2"
ends up looking like:
05/24/2014 55 15 49 16 28 18 2 (do NOT copy and paste from here... the forum replaces the tabs with spaces... so it won't work)
when you copy and paste into a table in Numbers it looks like: -
How can I read a column of numbers saved as .txt and display as a wave?
Hi Tiano
LabVIEW General
Ask:
Please enter a one-line summary of your question
Resources
• Technical Support
• Development Library
• Measurement Encyclopedia
"data/time reading into chart"
"In the attached file, I am trying to read the first column of data, and the next column is the value on the x-axis I want it plotted at. How do I read two columns of different data? I have looked in the books I have access to and the help within Labview but am still having trouble.
Thank you,
Ellie"
data_set (Plain Text, 3K)
-posted by Ellie on 9/11/2001
markwysong on 9/11/2001 answered:
"Ellie,
The first thing you need to do is to read your file in as a spreadsheet file. Then, you display it in a chart.
That sounds simple, but looking at your dataset, there's a few things you should know. First, the "read from spreadsheet VI" is looking for data in columns, like your data set, but columns separated by tabs. Therefore, your data must be saved that way; currently, it doesn't seem that it is. Another thing; you must skip the header portion (labels) of your file when reading.
Next, it would be easier if your time was first, and your data was second in your columns, but that can be overcome. In the VI I am including, I have copied your data set into a file called data.txt, and I've removed the header and separated the columns with a tab. Then, I read in the data, and I break out each column so I can put the time first, and then I combine them again into a cluster so it can be displayed on an XY chart.
Take a look!
Mark"
Graph data from file (Binary Executable, 20K)
data.txt (Plain Text, 3K)
This answer has not yet been rated.
Rate this answer:
Mikael Garcia on 9/11/2001 answered:
"Ellie,
Here is one way of doing it. Take a look at this example (compatible with LabVIEW 4.1 and up) and post comments if you need further help. Basically, I read your file as text; split it; and make use of the Spread sheet string to Array function before I plot your data. Hope this helps./ Mikael"
ExtractAndPlot.vi (Binary Executable, 36K)
This answer has not yet been rated.
Rate this answer:
Ellie on 9/12/2001 commented:
"Thank you. I am trying to get the data from the text file into a string and am having some trouble. I am reading the file from a spreadsheet, and sending the output array to "Array to Spreadsheet String", but I'm not sure this is what I want to do. Is there another way to make an array into a string? Do I need to reformat my data?
Can you offer me any advice?
Thank you."
data_1 (Plain Text, 3K)
Mikael Garcia on 9/12/2001 commented:
"I noticed that you changed your file format according to what was said here. Yes, this new file of yours is easier to use but your original file does not have to be changed. Take a look at this example. I now added the file-read part. It will give you a dialog to locate your data file (use this VI with your original file with the header since this VI includes a string split function). Hope this helps. /Mikael"
ReadExtractandPlot.vi (Binary Executable, 35K)
Niko on 9/12/2001 answered:
"If you read this file with the "read from spreadsheet file.vi" you get you
data in a 2-D-array. Now it is easy with array- and cluster-functions to
handle the data the way you want.
hope that helps, Niko"
This answer has not yet been rated.
Rate this answer:
I intend to read from a .txt file that contains a column of numbers. After reading I want to display it as a waveform. In fact the numbers represent points along a waveform/graph of Flow vs. time. Thus I want to have this info in the chart or graph with flow in the y0axis and time in the x-axis. Can someone give me some detailed help please? Thank you in advance.
Attachments:
The_file.txt 18 KBAll you have to do is use Read From Spreadsheet File.vi that's on the File I/O palette. For your example .txt, set the Transpose input to true and wire the First Row output to a waveform graph. The only problem I see is that since your file doesn't contain any sampling info, the time axis will be relative. If have that information elsewhere, then you can put a build waveform function between the read and the graph. Wire the First Row output to the Y input Build Waveform and add t0 and dt values. I've attached an example.
Attachments:
Graph_from_text.vi 29 KB -
Datagrid itemrenderer & evaluation of different column
Hey All,
I've been playing with this for a while but can't get it right. Basically, I have an itemrenderer that has an image and label, but I need to see what the value is of a different column before I know what image to use. I have a feeling the reason why my intended logic won't work is becasue the data[] does not reporesent the whole data structure...but I could be wrong.
This is what I have now:
I have a grid that references this itemrenderer & the grid dataprovider is an array collection:
Form
<s:GridColumn dataField="employee" headerText="Employee"
itemRenderer="com.mycompany.view.assets.renderers.EmployeeStatusColour"></s:GridColumn>
Item Renderer
<?xml version="1.0" encoding="utf-8"?>
<s:GridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
....>
<fx:Script>
<![CDATA[
override public function prepare(hasBeenRecycled:Boolean):void {
//THIS WORKS BUT NEED TO ADD LOGIC
lblData.text = data[column.dataField];
statusImage.source = "com/mycompany/view/assets/images/dot_GREEN.png";
//THIS IS WHAT I WANT INSTEAD - SYNTAX BELOW IS WRONG BUT YOU'LL GET THE IDEA
lblData.text = data[column.dataField];
if(data[column(3)]; = "MONDAY"{
statusImage.source = "com/mycompany/view/assets/images/dot_GREEN.png";
}else{
statusImage.source = "com/mycompany/view/assets/images/dot_BLUE.png";
]]>
</fx:Script>
<s:HGroup verticalAlign="middle" height="100%" gap="2">
<s:Image id="statusImage"/>
<s:Label id="lblData" paddingTop="5"/>
</s:HGroup>
</s:GridItemRenderer>
Thanks in advance to anybody who can direct me to a solution.
FlexHi,
I tried your suggestion but it didn't work. Thanks though!
However, if you see the code below this works as I stated above. data[column.dataField] returns the value of the referenced value.
override public function prepare(hasBeenRecycled:Boolean):void {
lblData.text = data[column.dataField];
statusImage.source = "com/mycompany/view/assets/images/dot_green.png";
So I did a debug inside my item renderer and found that the data object had all the object values of the row from my grid, which is what I want. I just don't know how to access them individually to do my comparison. It's probably something really easy like
If (data[column(4).dataField]=="MONDAY"){
statusImage.source = "com/mycompany/view/assets/images/dot_GREEN.png";
I know I'm close just don't know the syntax.
Thanks! -
Rules under columns of numbers in financials?
I am laying out columns of numbers in a financial section of a report...the columns are created with tabs. how do I make rules underneath each individual column. Underlining won't do it...I need to be able to control color, offset, etc. When I use paragraph rules, it makes a rule under the whole group of columns, not under each individual column.
I have done a lot of financial statements. Used to work in-house in an investment company. Tables are not an option unless you're doing something very minor: generally text needs to flow from column to column, and from page to page. It is possible that a single portfolio could run on for 10 pages. The other problem is that a typical layout can have several styles of ruling depending upon which row they're associated with: single rule under the left column; single rule under left two columns; double rule under the middle column; double rule under the right column. This makes regular paragraph ruling useless.
The best way I've found to handle this is to make your own custom rules with stroke styles (in the flyout of the stroke palette). Essentially, you make dashed rules that correspond to each different situation and apply them as paragraph rules in the appropriate style sheet. The gaps will be the columns without ruling and spaces between columns; the dashes will be the rules under the appropriate columns. Set up both single and double rules this way. (The rule weight of double rules includes both rules: if you want two half-point rules with a half point gap, you use a one-and-a-half point rule. Thick-thick is based on 33.3%,33.3%,33.3%, but the weights and spacing are as customizable as the dashes.)
With some planning you may be able to cut down on the number of strokes sytles you have to define. Generally the left column is text, the rightmost columns are figures, and only figure columns will ever have rules beneath them. A little tip is to use the paragraph rule indent to set the postion of the first dash. If you have equal columns you may be able to use one custom dash in different situations. For instance, you can use your three dash rule for just the last two columns by increasing the left indent. Increase it more and it's only applied to the last column. These indents can be defined in your paragraph styles. -
Can I sort a column in Numbers without affecting the associate rows?
I have a schedule with date columns and lists of names. I would like to sort the names alphabetically in each column, but the rows are tied to the column. Is there a way to sort each column without effecting the entire table?
SJRiis wrote:
Thanks, This seems like a serious flaw to me. I want to like Numbers, but keep finding reasons to go back to Excel.
Why would you put data in different columns of the same row that don't have any relationship to each other? The purpose of a row is to create a record of related data. The Apple guys are sticklers about things like this. If that bothers you, reverting to Excel is your best option.
Jerry -
I am trying to recreate a loan application form which includes several columns of numbers which need to totaled, currently we are using a Word document, but are starting to find that it is cumbersome and very limiting. It was suggested that we check out Adobe forms as a possible solution.
In FormsCentral, you can use formulas in the response table to add together values in a response. For an example of this, you can fill out this form:
https://adobeformscentral.com/?f=nAo5QQeg5J2NDfXYlZW4fw
And you can see the response table for that form here:
https://formscentral.acrobat.com?d=nAo5QQeg5J2NDfXYlZW4fw
I've created two columns that use different labels to add together the number fields in the form. You can mouse over a cell in those columns to see the formulas used.
Hope that helps! -
Sum defaults to different column
I have set up a numbers templet for stock prices where I only need to enter the closing price for each stock to update the spreadsheet. I would like the profit to fall in one column and the loss to fall in a different column. Is this possible?
Hi Richard,
Enclose the formula calculating profit/loss in IF statements, following this model:
PROFIT column: =IF(formula>=0,formula,"")
LOSS column: =IF(formula<0,formula,"")
If you want the loss figure to appear as a positive number, use this version of the LOSS formula:
LOSS column: =IF(formula<0,ABS(formula),"")
Regards,
Barry -
How to get multiple records in one row and different column
Hi All,
I am using oracle database 11g
and i have a two tables table_1, table_2
table_1 having columns
emp_no
first_name
middle_name
last_name
email
and table_2 having columns
emp_no
phone_type
phone_number
and having entires
emp_no phone_type phone_number
1001 MOB 9451421452
1001 WEMG 235153654
1001 EMG 652341536
1002 MOB 9987526312
1003 WEMG 5332621456
1004 EMG 59612356
Now i want the output of values with phone type as MOB or WEMG in a single row with different columns
emp_no first_name middle_name last_name email mobile officeno
1001 mark null k [email protected] 9451421452 235153654
1002 john cena gary [email protected] 9987526312 null
1003 dany null craig [email protected] null 5332621456
1004 donald finn sian [email protected] null null
can i have any inputs to achive this???
Regards
$sidFrank Kulash wrote:
sonething like this:Frank, you missed aggregate function (pivot requires one). However main thing is it will cause ORA-01748:
with table_1 as (
select 1001 emp_no,'mark' first_name,null middle_name,'k'last_name,'[email protected]' email from dual union all
select 1002,'john','cena','gary','[email protected]' from dual union all
select 1003,'dany',null,'craig','[email protected] null' from dual union all
select 1004,'donald','finn','sian','[email protected]' from dual
table_2 as (
select 1001 emp_no,'MOB' phone_type,9451421452 phone_number from dual union all
select 1001,'WEMG',235153654 from dual union all
select 1001,'EMG',652341536 from dual union all
select 1002,'MOB',9987526312 from dual union all
select 1003,'WEMG',5332621456 from dual union all
select 1004,'EMG',59612356 from dual
SELECT *
FROM table_1 t1
JOIN table_2 t2 ON t1.emp_no = t2.emp_no
PIVOT ( max(t2.phone_number)
FOR t2.phone_type IN ( 'MOB' AS mob
, 'WEMG' AS wemg
FOR t2.phone_type IN ( 'MOB' AS mob
ERROR at line 19:
ORA-01748: only simple column names allowed hereYou need to:
with table_1 as (
select 1001 emp_no,'mark' first_name,null middle_name,'k' last_name,'[email protected]' email from dual union all
select 1002,'john','cena','gary','[email protected]' from dual union all
select 1003,'dany',null,'craig','[email protected] null' from dual union all
select 1004,'donald','finn','sian','[email protected]' from dual
table_2 as (
select 1001 emp_no,'MOB' phone_type,9451421452 phone_number from dual union all
select 1001,'WEMG',235153654 from dual union all
select 1001,'EMG',652341536 from dual union all
select 1002,'MOB',9987526312 from dual union all
select 1003,'WEMG',5332621456 from dual union all
select 1004,'EMG',59612356 from dual
table_3 as (
select t1.emp_no,first_name,middle_name,last_name,email,
phone_type,phone_number
FROM table_1 t1
LEFT JOIN table_2 t2 ON t1.emp_no = t2.emp_no
SELECT *
FROM table_3
PIVOT ( max(phone_number)
FOR phone_type IN ( 'MOB' AS mob
, 'WEMG' AS wemg
EMP_NO FIRST_ MIDD LAST_ EMAIL MOB WEMG
1004 donald finn sian [email protected]
1003 dany craig [email protected] null 5332621456
1001 mark k [email protected] 9451421452 235153654
1002 john cena gary [email protected] 9987526312
SQL>SY. -
Not able to display data in different columns using Unicode encoding
Hi,
Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
Please let me know how to display data in different columns using Unicode encoding in Excel sheet.Hi Venkat,
After extracting data into DSO check the request whether active or not.
Check data in DSO in contents.
If is there any restrictions on info providers in Queries.
Let us know status clearly.......
Reg
Pra -
IR - if count (primary key) cannot change to count different column
Apex 4.1.1.00.23 Windows 7 IE8 / Firefox 16
If I add a Group By and Count to an Interactive report and choose the primary key column as the one to Count, run the report and then edit the Group By to count a different column, the result set does not change, and if I edit the Group By again it shows that the Counted column has reverted back to the primary key column.
If I initially choose a different column I can change it and rerun the report successfully, but once I choose the primary key column it cannot be changed. This seems to happen on all applications and all browsers. Is it a bug in Apex?
Thanks,
Nick.I've tried this in 4.1.0.00.32: works normally. In 4.1.1.00.23 however i'm getting the weird behaviour: you can count on any column, but the moment you count the same column as the one grouped on you can not change the column back to another one anymore. Something which works fine in 4.1.0.00.32.
-
BO xi 3.1 u2013 schedule a template for multiple reports with different column
Hi,
I need to migrate the existing reports from SQL Server Reporting Services to BO, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to schedule a single template with different parameters for all reports in BO, or create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
Thanks!Hi,
The only approach I can think of is to create a template report which uses variables
For each column you would need to variable
v_columnAName and v_columnAValue
v_columnAName would have a if statement in it
=if([client]="clientA" or [client]="clientC";NameOf([firstName]);if([client]="clientB";NameOf([SSN]);NameOf([lastName]));
v_columnA would have a if statement in it
=if([client]="clientA" or [client]="clientC";[firstName];if([client]="clientB";[SSN],[lastName]));
This would only work when you had a small set of clients.
This might be more managable if it was done in the universe
Regards
Alan
Maybe you are looking for
-
HP LaserJet 1018 no longer prints after security update
After installing the following updates on my HP Pavilion dv71023cl running Windows Vista: Cumulative Security Update for Internet Explorer 9 for Windows Vista for x64-based Systems (KB2817183) Installation date: 4/12/2013 4:06 PM Installation stat
-
Problem description: My mac is running very slow and seems to always be on like i hear it buzzing constantly EtreCheck version: 2.1.3 (106) Report generated December 16, 2014 at 11:49:46 PM EST Hardware Information: ℹ️ iMac (27-inch, Mid 2011) (Ver
-
Missing Pre-Order $10 Certificate
Hello - I recently pre-ordered and purchased Shadows of Mordor, and I don't think my $10 RZ certificate is processing correctly. When I pre-ordered, I selected the XB1 version, but chose to switch to the PS4 version when I picked it up. I asked the
-
Hello there, can you help me on how to use the set Focus. For instance I have a 3 JTextField, when I run it, the focus is on the first textField, what I want is that, when I pressed the enter key on the keyBoard, the focus will be on the 2nd textFiel
-
I was able to text a friend before a d then my Samsung phone updated and now it is just one person it will not let me receive texts from and they have not been removed or blocked help!