Solved Excel 2016 error using Round

Nosmas

New member
Local time
10:58 PM
Messages
46
Location
Chipstead, Surrey, UK
The following formula gives the correct result for each of the conditions: -

=IF(GrosInc-PAIncLmt<0,EPA,IF(GrosInc-PAIncLmt-(EPA*2)>=0,0,EPA-(GrosInc-PAIncLmt)/2))

but if I introduce the Round function: -

=IF(GrosInc-PAIncLmt<0,EPA,IF(GrosInc-PAIncLmt-(EPA*2)>=0,0,Round(EPA-(GrosInc-PAIncLmt)/2),0))

in order for the result to be an integer, I get an error message "You've entered too few arguments for this function." Please can someone point out what I have done incorrectly.


 

My Computer My Computer

At a glance

Microsoft Windows 10 Pro 64-bit MultiprocessorIntel(R) Core(TM) i3-4160 CPU @3.60 GHz x 44.00 GB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Optiplex 9030
OS
Microsoft Windows 10 Pro 64-bit Multiprocessor
CPU
Intel(R) Core(TM) i3-4160 CPU @3.60 GHz x 4
Memory
4.00 GB
Monitor(s) Displays
23-inch full-HD WLED
Screen Resolution
1920 x 1080 @ 60 Hz
Hard Drives
1 x 2.5-inch SATA hard drive
PSU
185 Watt
Browser
MS Edge and IE 11
Round(EPA-(GrosInc-PAIncLmt)/2),0))
should be this
Round(EPA-(GrosInc-PAIncLmt)/2,0)))
 

My Computer My Computer

At a glance

Win7 pro x64stock i7 7700kCorsair Vengeance LPX 16GB (2x8GB) DDR4 @ 320...integrated Intel HD 630
Computer type
PC/Desktop
Computer Manufacturer/Model Number
diy
OS
Win7 pro x64
CPU
stock i7 7700k
Motherboard
Gigabyte Z270N-WIFI mini-ITX
Memory
Corsair Vengeance LPX 16GB (2x8GB) DDR4 @ 3200MHz
Graphics Card(s)
integrated Intel HD 630
Sound Card
onboard Realtek ALC1220
Monitor(s) Displays
two vertically mounted samsung 55" 4k un55mu8000
Screen Resolution
1920x1280
Hard Drives
256GB Samsung EVO 960 M.2 pci-e NVMe SSD
PSU
SilverStone Nightjar ST45NF 450Watt Fanless
Case
No case. Motherboard is mounted directly onto power supply
Cooling
Evercool low profile 815EP with Panaflow 12L fan at 7v
Keyboard
Ortek MCK-86 mini
Mouse
Belkin 5-button USB
Internet Speed
spectrum 400mbps
Many thanks johnhoh that has done the trick!!
 

My Computer My Computer

At a glance

Microsoft Windows 10 Pro 64-bit MultiprocessorIntel(R) Core(TM) i3-4160 CPU @3.60 GHz x 44.00 GB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Optiplex 9030
OS
Microsoft Windows 10 Pro 64-bit Multiprocessor
CPU
Intel(R) Core(TM) i3-4160 CPU @3.60 GHz x 4
Memory
4.00 GB
Monitor(s) Displays
23-inch full-HD WLED
Screen Resolution
1920 x 1080 @ 60 Hz
Hard Drives
1 x 2.5-inch SATA hard drive
PSU
185 Watt
Browser
MS Edge and IE 11
Back
Top