Sponsored Content
Full Discussion: Help for Excel
Top Forums UNIX for Dummies Questions & Answers Help for Excel Post 302651889 by blubiz2 on Wednesday 6th of June 2012 10:10:09 AM
Old 06-06-2012
Help for Excel

Hello everybody. I am new here and hoping someone is willing to help. I just want to know if anyone can tell me how it would be possible to combine two separate rows in excel while adding certain pieces of information and keeping others the same.

Here is what I mean. I want to combine the same products into one row. While keeping the product number and per unit price the same while adding the quantity's together and updating the total cost. Also if possible indicate the number of different customers for the customer column.
Code:
  Customer .Product .Product Number.Quantity. Per Unit Price.Total  
   Bonnie / Clamp / 4216 / 13 / 5    =PRODUCT(D23,E23)   
   Bonnie  / TB / 1356  / 5  / 20  /  =PRODUCT(D26,E26)   
   Shawn /  Washers / 3212 / 15  /   0.2 /  =PRODUCT(D29,E29)   
   Bonnie  /  Washers / 3212 / 10 / 0.2 /  =PRODUCT(D30,E30)

So that this will look like...
Code:
  Bonnie /  Clamp /   4216 / 13 /  5 / =PRODUCT(D23,E23)   
  Bonnie / TB /  1356/. 5 / 20 / =PRODUCT(D26,E26)   
  2 / Washers / 3212 / 25 / 0.2  / =NEW PRoduct

Thanks a lot and any and all help will be greatly appreciated!

Moderator's Comments:
Mod Comment Please use next time code tags for your code and data

Last edited by blubiz2; 06-06-2012 at 11:26 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

excel

i am currently using a unix environment and will be constantly receiving documents in excel format(.xls) my question is is there any tools that will do auto convertion of data in the excel doc into .txt? ps.. my job are mainly for batch processing. thus it would be great if no manual work is... (2 Replies)
Discussion started by: swakoo
2 Replies

2. UNIX for Dummies Questions & Answers

Excel help

Folks; I'm writing a shell script to extract some field out of log file to a text file which i can convert/open in Excel sheet. I gave names to the fields like (Editor_name, Owner, etc..) to be in the top of the Excel sheet. When i open the file using Excel sheet i see these filed names fine on... (2 Replies)
Discussion started by: moe2266
2 Replies

3. Shell Programming and Scripting

PERL: Split Excel Workbook to Indiv Excel files

Hi, I am trying to find a way to read an excel work book with multiple worksheets. And write each worksheet into a new excel file using perl. My environment is Unix. For example: I have an excel workbook TEST.xls and it has Sheet1, Sheet2, Sheet3 worksheets. I would like to create... (2 Replies)
Discussion started by: sandeep78
2 Replies

4. Windows & DOS: Issues & Discussions

Excel manipulation

I have a .csv file, when i open it in excel sheet the content is getting displayed in scientific notation (E+e.) , now inorder to remove tht i have appended ' (single quote) infront of the number. This is working fine. But when i open in excel the ' single quote is appearing before the number. My... (1 Reply)
Discussion started by: dvrraju
1 Replies

5. Shell Programming and Scripting

Excel

I have file called abc.txt at /usr/abc.. Content of file is as below. mZ2|uM/KRCNB30103/1|BADR|NLRDC00C/W | |201105|I|2 oZ2|iM/KRCNB30103/1|BADR|NLRDC00C/W | |201105|I|2 pZ2|qM/KRCNB30103/1|BADR|NLRDC00C/W | |201105|I|2... (3 Replies)
Discussion started by: j_panky
3 Replies

6. Windows & DOS: Issues & Discussions

Excel

Hello, I have received very much needed help in the past from this forum and hope that someone can assist me once more. I am in the military and I am tracking classroom specific training for each one of our units per sailor in that unit. I am attaching the spreadsheet for your review. There are... (5 Replies)
Discussion started by: Maggiepie
5 Replies

7. Shell Programming and Scripting

Writing excel file using perl : Excel file formatting changed

I am trying to create a program where user can input data in certain excel cells using user interface on internet....the programming is on perl and server is unix But when i parse data into excel the formatting of sheets is turned to default and all macro coding removed. What to do...Please... (7 Replies)
Discussion started by: mud_born
7 Replies

8. Shell Programming and Scripting

Perl script to Merge contents of 2 different excel files in a single excel file

All, I have an excel sheet Excel1.xls that has some entries. I have one more excel sheet Excel2.xls that has entries only in those cells which are blank in Excel1.xls These may be in different workbooks. They are totally independent made by 2 different users. I have placed them in a... (1 Reply)
Discussion started by: Anamika08
1 Replies

9. Shell Programming and Scripting

Summing up the data from different excel sheet into one excel sheet

Hi Folks, Can you please advise for any script in unix such that for example , i have 3 different excel sheet at the location /ppt/gfr/exc so the name s of the excel sheet are 1excel.xslx 2excel.xslx 3excel.xslx now in these 3 different excel sheet there is lot of data for example each... (3 Replies)
Discussion started by: punpun66
3 Replies

10. Shell Programming and Scripting

Script to generate Excel file or to SQL output data to Excel format/tabular format

Hi , i am generating some data by firing sql query with connecting to the database by my solaris box. The below one should be the header line of my excel ,here its coming in separate row. TO_CHAR(C. CURR_EMP_NO ---------- --------------- LST_NM... (6 Replies)
Discussion started by: dani1234
6 Replies
drslib()																  drslib()

NAME
drs_tool - Command-line interface to DRSLIB SYNPOSIS
DESCRIPTION
USAGE
Usage Usage: drs_tool [command] [options] [drs-pattern] command: list list publication-level datasets todo show file operations pending for the next version upgrade make changes to the selected datasets to upgrade to the next version mapfile make a mapfile of the selected dataset history list all versions of the selected dataset init initialise CMIP5 product detection data OPTIONS
--help display this help message and exit --version output version information and exit -h, --help show this help message and exit -R ROOT, --root=ROOT Root directory of the DRS tree -I INCOMING, --incoming=INCOMING Incoming directory for DRS files. Defaults to <root>/output -a ACTIVITY, --activity=ACTIVITY Set DRS attribute activity for dataset discovery -p PRODUCT, --product=PRODUCT Set DRS attribute product for dataset discovery -i INSTITUTE, --institute=INSTITUTE Set DRS attribute institute for dataset discovery -m MODEL, --model=MODEL Set DRS attribute model for dataset discovery -e EXPERIMENT, --experiment=EXPERIMENT Set DRS attribute experiment for dataset discovery -f FREQUENCY, --frequency=FREQUENCY Set DRS attribute frequency for dataset discovery -r REALM, --realm=REALM Set DRS attribute realm for dataset discovery -v VERSION, --version=VERSION Force version upgrades to this version -P FILE, --profile=FILE Profile the script exectuion into FILE --detect-product Automatically detect the DRS product of incoming data REQUIRES
FILES
drs_tool uses metaconfig to configure and store configuration information. Its configuration may be found then in a metaconfig.conf file, in /etc/metaconfig/metaconfig.conf on Debian systems, which may be overriden by $HOME/.metaconfig.conf or ./metaconfig.conf ENVIRONMENT VARIABLES
The variable METACONF_CONF VERSION
0.3.0a3 BUGS
To query and report bugs in drs_tool, please use reportbug on Debian systems. SEE ALSO
http://esgf.org/esgf-drslib-site/index.html AUTHOR
DRSLIB was written by Stephen Pascoe, STFC.SC.UK. This manual page was written by Alastair McKinstry. drslib()
All times are GMT -4. The time now is 04:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy