Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Determinar o valor max
Estou neste momento a trabalhar com uma base de cerca de 40000 linhas, tenho
várias datas associadas a clientes, eu queria obter o valor max de cada cliente agrupando os clientes. exe Cliente dias 12345 -213 12345 -158 12568 126 12345 10 12489 15 48615 486 para o cliente 12345 o valor max seria 10, como fazer que ele me agrupe por clientes e me de o valor max ... gostaria que me ajudassem |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Determinar o valor max
Hi
The solution is pivot table - group by Cliente, and calculate MAX of dias -- Arvi Laanemets ( My real mail address: arvi.laanemets<attarkon.ee ) "Hugo C." wrote in message ... Estou neste momento a trabalhar com uma base de cerca de 40000 linhas, tenho v?rias datas associadas a clientes, eu queria obter o valor max de cada cliente agrupando os clientes. exe Cliente dias 12345 -213 12345 -158 12568 126 12345 10 12489 15 48615 486 para o cliente 12345 o valor max seria 10, como fazer que ele me agrupe por clientes e me de o valor max ... gostaria que me ajudassem |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Determinar o valor max
=MAX(($A$2:$A$7=12345)*($B$2:$B$7))
Enter with Ctrl+Shift+Enter "Hugo C." wrote: Estou neste momento a trabalhar com uma base de cerca de 40000 linhas, tenho várias datas associadas a clientes, eu queria obter o valor max de cada cliente agrupando os clientes. exe Cliente dias 12345 -213 12345 -158 12568 126 12345 10 12489 15 48615 486 para o cliente 12345 o valor max seria 10, como fazer que ele me agrupe por clientes e me de o valor max ... gostaria que me ajudassem |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Determinar o valor max
that would be easy if they were only 5 elements, but like i said i´m working
whit 40000 elements so is there a way using condictions to assume all clients according whit their number and then make me the max value for each case ... "Toppers" escreveu: =MAX(($A$2:$A$7=12345)*($B$2:$B$7)) Enter with Ctrl+Shift+Enter "Hugo C." wrote: Estou neste momento a trabalhar com uma base de cerca de 40000 linhas, tenho várias datas associadas a clientes, eu queria obter o valor max de cada cliente agrupando os clientes. exe Cliente dias 12345 -213 12345 -158 12568 126 12345 10 12489 15 48615 486 para o cliente 12345 o valor max seria 10, como fazer que ele me agrupe por clientes e me de o valor max ... gostaria que me ajudassem |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Determinar o valor max
Arvi's suggestion of a pivot table?
"Hugo C." wrote: that would be easy if they were only 5 elements, but like i said i´m working whit 40000 elements so is there a way using condictions to assume all clients according whit their number and then make me the max value for each case ... "Toppers" escreveu: =MAX(($A$2:$A$7=12345)*($B$2:$B$7)) Enter with Ctrl+Shift+Enter "Hugo C." wrote: Estou neste momento a trabalhar com uma base de cerca de 40000 linhas, tenho várias datas associadas a clientes, eu queria obter o valor max de cada cliente agrupando os clientes. exe Cliente dias 12345 -213 12345 -158 12568 126 12345 10 12489 15 48615 486 para o cliente 12345 o valor max seria 10, como fazer que ele me agrupe por clientes e me de o valor max ... gostaria que me ajudassem |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
Determinar o valor max
it´s a nice ideia but we doesn´t acept... 2 many data 2 output ... humm ... i
solve doing max in acess, but i´m stil not satisfied |
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
Determinar o valor max
Hi
Let's assume you have your data in columns A:B. In cells A1:B1 you must have column headers ("Cliente"; "dias"). Select some range in columns A:B, starting from A1; From Data menu, select Pivot Table and Pivot Chart Report; Next; Edit the range to $A:$B. Next; Click on Layout...; Drag field Cliente into ROW area; Drag field dias into Data area - you get there 'Count of dias'; Double-click on 'Count of dias'; Set 'Summarize by' to MAX. OK; OK; Finish. It's easiest way for start. You can add new entries into source table or edit existing ones, then select any cell in pivot table, and refresh the pivot table to actualize it. A drawback is, you get Cliente '(blank)' in pivot table because all of empty rows at bottom of table - but you can easily ignore it. -- Arvi Laanemets ( My real mail address: arvi.laanemets<attarkon.ee ) "Hugo C." wrote in message ... it´s a nice ideia but we doesn´t acept... 2 many data 2 output ... humm ... i solve doing max in acess, but i´m stil not satisfied |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
valor presente neto | Excel Worksheet Functions | |||
Problema na Contagem de Valor | Excel Discussion (Misc queries) | |||
Cambiar color fila dependiendo de valor de columna | Excel Discussion (Misc queries) | |||
Como achar um determinado valor em uma coluna, por meio de fórmula | Charts and Charting in Excel | |||
se puede variar el color de una celda segun el valor que tenga?? | Excel Discussion (Misc queries) |