![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Mar 2002
Posts: 82
|
Suppose
I have in 3 columns and 3 rows: Money 25 30 HK -45 2 EQ 3 -4 Can I use a pivot table to sum only the positive number such that the output would be : Money 55 HK 2 EQ 3 Thanks very much, oh pls give a bit more guidance on what button to click under pivot table... |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Posts: 82
|
Suppose
I have in 3 columns and 3 rows: Money II 25 II 30 II HK II -45 II 2 II EQ II 3 II -4 II Can I use a pivot table to sum only the positive number such that the output would be : Money 55 HK 2 EQ 3 Thanks very much, oh pls give a bit more guidance on what button to click under pivot table... |
|
|
|
|
|
#3 | ||||||||||||||||||||
|
MrExcel MVP
Join Date: Mar 2002
Location: Kobe, Japan
Posts: 1,420
|
Hi chaju!
Do you surely use pivot table? Simple formula will show the answer to you.
|
||||||||||||||||||||
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Posts: 82
|
I have simplify the data,, there are actually lots of rows of data..
Using pivot table is a must |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Mar 2002
Location: Hellas
Posts: 553
|
HELLO CHAJOU
I THINK YOU MUST WORK FIRSLY IN THE DATA SHEET LIKE THIS A B C D 1 LABEL NUM1 NUM2 VALUE 2 money -10 50 50 3 hq 10 -30 10 4 hq -5 45 45 5 hq 10 -5 10 6 ef -5 25 25 7 ef -10 30 30 8 ef -10 50 50 9 money 10 -30 10 the value column is the formula below =((B12>0)*B12)+((C12>0)*C12) AND AFTER YOU CAN CREATE EASILY THE PIVOT TABLE using only the value column. ANDREAS |
|
|
|
|
|
#6 |
|
Board Regular
Join Date: Mar 2002
Posts: 82
|
any more ideas?
|
|
|
|
|
|
#7 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
|
what do you want when "money" has more than a single row ?
ie : money 10 20 money -5 70 ? |
|
|
|
|
|
#8 | |||||||||||||||||||||
|
Board Regular
Join Date: Feb 2002
Location: Tulsa, OK
Posts: 354
|
Quote:
|
|||||||||||||||||||||
|
|
|
|
|
#9 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|