• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Is there an easy way to do this in Excel?

Joined
Nov 30, 2008
Messages
555 (0.10/day)
Location
Birmingham, England...
Processor Intel Core 2 Quad Q6600 @ 2.8GHz
Motherboard Gigabyte X48T-DQ6
Cooling Zalman 9500 LED CPU Cooler
Memory 2x 2GB Corsair DDR3 XMS3 DHX - 1600MH/PC3-12800
Video Card(s) Gigabyte HD4870 1GB
Storage 2x Seagate 320GB Barracuda (RAID 0) 3x 1TB Samsung F3, 140GB WD Maxtor (10,000rpm)
Display(s) 2x 20" LG Flatron L204WS
Power Supply Powercool 850W
Software Windows 7 Ultimate x64
Hi All

I have an excel sheet and wondered if there was an easy way to achive this:

The left column has employee numbers, the right column lists pay. Sometimes, an employee has more than one pay, so it lists directly underneath (without displaying the employee number again). I want the pays for each employee to add up and remove the space below. Is this possible? Thanks for looking. On the left is my original table, on the right is how i want it to appear:

|
 
Joined
Apr 19, 2012
Messages
12,062 (2.75/day)
Location
Gypsyland, UK
System Name HP Omen 17
Processor i7 7700HQ
Memory 16GB 2400Mhz DDR4
Video Card(s) GTX 1060
Storage Samsung SM961 256GB + HGST 1TB
Display(s) 1080p IPS G-SYNC 75Hz
Audio Device(s) Bang & Olufsen
Power Supply 230W
Mouse Roccat Kone XTD+
Software Win 10 Pro
Look up Sub Totals and Grand Totals in excel, may be something that you are looking for. As for removing the blankety blanks, could be done with some kind of scripted macro.
 
Joined
Nov 30, 2008
Messages
555 (0.10/day)
Location
Birmingham, England...
Processor Intel Core 2 Quad Q6600 @ 2.8GHz
Motherboard Gigabyte X48T-DQ6
Cooling Zalman 9500 LED CPU Cooler
Memory 2x 2GB Corsair DDR3 XMS3 DHX - 1600MH/PC3-12800
Video Card(s) Gigabyte HD4870 1GB
Storage 2x Seagate 320GB Barracuda (RAID 0) 3x 1TB Samsung F3, 140GB WD Maxtor (10,000rpm)
Display(s) 2x 20" LG Flatron L204WS
Power Supply Powercool 850W
Software Windows 7 Ultimate x64
Look up Sub Totals and Grand Totals in excel, may be something that you are looking for. As for removing the blankety blanks, could be done with some kind of scripted macro.

Thanks.. will look into it.. Any more info on the removing blank rows after getting the totals would be great :)
 

de.das.dude

Pro Indian Modder
Joined
Jun 13, 2010
Messages
8,782 (1.74/day)
Location
Stuck in a PC. halp.
System Name Monke | Work Thinkpad| Old Monke
Processor Ryzen 5600X | Ryzen 5500U | FX8320
Motherboard ASRock B550 Extreme4 | ? | Asrock 990FX Extreme 4
Cooling 240mm Rad | Not needed | hyper 212 EVO
Memory 2x16GB DDR4 3600 Corsair RGB | 16 GB DDR4 3600 | 16GB DDR3 1600
Video Card(s) Sapphire Pulse RX6700XT 12GB | Vega 8 | Sapphire Pulse RX580 8GB
Storage Samsung 980 nvme (Primary) | some samsung SSD
Display(s) Dell 2723DS | Some 14" 1080p 98%sRGB IPS | Dell 2240L
Case Ant Esports Tempered case | Thinkpad | Antec
Audio Device(s) Logitech Z333 | Jabra corpo stuff
Power Supply Corsair RM750e | not needed | Corsair GS 600
Mouse Logitech G400 | nipple
Keyboard Logitech G213 | stock kb is awesome | Logitech K230
VR HMD ;_;
Software Windows 10 Professional x3
Benchmark Scores There are no marks on my bench
why not make another column(s) on the right with the extra pay, then display the total of the employee on the right!
 
Joined
Nov 30, 2008
Messages
555 (0.10/day)
Location
Birmingham, England...
Processor Intel Core 2 Quad Q6600 @ 2.8GHz
Motherboard Gigabyte X48T-DQ6
Cooling Zalman 9500 LED CPU Cooler
Memory 2x 2GB Corsair DDR3 XMS3 DHX - 1600MH/PC3-12800
Video Card(s) Gigabyte HD4870 1GB
Storage 2x Seagate 320GB Barracuda (RAID 0) 3x 1TB Samsung F3, 140GB WD Maxtor (10,000rpm)
Display(s) 2x 20" LG Flatron L204WS
Power Supply Powercool 850W
Software Windows 7 Ultimate x64
why not make another column(s) on the right with the extra pay, then display the total of the employee on the right!

Thanks for the reply.

This is how the data is exported. Is there a way to get the pay in a new column automatically?
 
Joined
Apr 2, 2011
Messages
2,657 (0.56/day)
Getting rid of the blanks is surprisingly easy.
1) Highlight the column
2) F5
3) Special
4) Blanks
5) Right Click on highlighted blank cell
6) Delete entire row


Getting the pay values to dynamically add is another issue. Can't say I'm 100 percent sure there.
 
Joined
Nov 30, 2008
Messages
555 (0.10/day)
Location
Birmingham, England...
Processor Intel Core 2 Quad Q6600 @ 2.8GHz
Motherboard Gigabyte X48T-DQ6
Cooling Zalman 9500 LED CPU Cooler
Memory 2x 2GB Corsair DDR3 XMS3 DHX - 1600MH/PC3-12800
Video Card(s) Gigabyte HD4870 1GB
Storage 2x Seagate 320GB Barracuda (RAID 0) 3x 1TB Samsung F3, 140GB WD Maxtor (10,000rpm)
Display(s) 2x 20" LG Flatron L204WS
Power Supply Powercool 850W
Software Windows 7 Ultimate x64
Awesome.. thanks for that :) Will be useful in the future too.
 
Joined
Jul 6, 2006
Messages
473 (0.07/day)
Location
ireland, galway
Processor q6600 G0 @ 2.8Ghz
Motherboard ex38 DS4
Cooling air
Memory 4 *1gig tracer ballistic
Video Card(s) sapphire dual bios 6950
Storage ssd- sandisk 120gb, sata- 2 500gb samsung in raid 1 & 1 samsung 400gb
Display(s) LG w2452tx
Case nzxt
Audio Device(s) na
Power Supply hiper 730
Mouse g9
Keyboard bt microsoft arch
Software win7
yeah i was gonna say the same that someone else has, can you not make extra payments go into next column ( ie 'C") or would that mess with sheet,, or hmm,, or maybe use a formula code that says if this cell is empty use above cell data,

hmm Ive got a big college folder of excell worksheets and see if I can a similar problem with an appropriate solution.
 
Last edited:
Joined
Oct 21, 2005
Messages
6,877 (1.02/day)
Location
USA
System Name Computer of Theseus
Processor Intel i9-12900KS: 50x Pcore multi @ 1.18Vcore (target 1.275V -100mv offset)
Motherboard EVGA Z690 Classified
Cooling Noctua NH-D15S, 2xThermalRight TY-143, 4xNoctua NF-A12x25,3xNF-A12x15, 2xAquacomputer Splitty9Active
Memory G-Skill Trident Z5 (32GB) DDR5-6000 C36 F5-6000J3636F16GX2-TZ5RK
Video Card(s) EVGA Geforce 3060 XC Black Gaming 12GB
Storage 1x Samsung 970 Pro 512GB NVMe (OS), 2x Samsung 970 Evo Plus 2TB (data 1 and 2), ASUS BW-16D1HT
Display(s) Dell S3220DGF 32" 2560x1440 165Hz Primary, Dell P2017H 19.5" 1600x900 Secondary, Ergotron LX arms.
Case Lian Li O11 Air Mini
Audio Device(s) Audiotechnica ATR2100X-USB, El Gato Wave XLR Mic Preamp, ATH M50X Headphones, Behringer 302USB Mixer
Power Supply Super Flower Leadex Platinum SE 1000W 80+ Platinum White
Mouse Zowie EC3-C
Keyboard Vortex Multix 87 Winter TKL (Gateron G Pro Yellow)
Software Win 10 LTSC 21H2
Last edited:
Joined
Sep 1, 2010
Messages
7,023 (1.41/day)
You can use IF operator/function. Here's the thing:

for ith row
if ai is blank then bi-1:=bi-1+bi delete ith row

I'm not familiar how it works in excel but idea is right
 
Top