Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
i have data in a1:a31 and in a45 i am putting =a1. i then click the black
box at the bottom of a45 and drag until each successive cell contains the information from a1:a31. some of the cells in the range a1:a31 are empty, and when i copy the cells from a45:75, those corresponding cells have a 0 in them. what IF statement do i need to add to a45 that keeps the same formatting (?) or keeps the blank cell instead of adding the 0? thanks! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You have a couple of choices: You can go into Tools-Options and tell Excel
to not display zero values, or you can wrap your =CellAddress formula in an IF() to evaluate to an empty string"" if the referenced cell is empty. Depends on your preferences. The formula would be: =IF(ISBLANK(A1),"",A1) "scott" wrote: i have data in a1:a31 and in a45 i am putting =a1. i then click the black box at the bottom of a45 and drag until each successive cell contains the information from a1:a31. some of the cells in the range a1:a31 are empty, and when i copy the cells from a45:75, those corresponding cells have a 0 in them. what IF statement do i need to add to a45 that keeps the same formatting (?) or keeps the blank cell instead of adding the 0? thanks! |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(A1="","",A1)
-- David Biddulph "scott" wrote in message ... i have data in a1:a31 and in a45 i am putting =a1. i then click the black box at the bottom of a45 and drag until each successive cell contains the information from a1:a31. some of the cells in the range a1:a31 are empty, and when i copy the cells from a45:75, those corresponding cells have a 0 in them. what IF statement do i need to add to a45 that keeps the same formatting (?) or keeps the blank cell instead of adding the 0? thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copying a row | Excel Worksheet Functions | |||
copying row to row | Excel Discussion (Misc queries) | |||
Copying | Excel Discussion (Misc queries) | |||
copying the Hyperlink function result without copying the actual formula | Excel Worksheet Functions | |||
copying | Excel Discussion (Misc queries) |