Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to automatically populate using Macro


I want a code that can automatically populate a column wich is (E).
want the column to be dividing column A/ Column C. And if there isn'
anything in Column A or C.. then the column cell =0 . And if the answe
is N/A- Then the column cell equals -

Thanks, Please email me

--
ICSAnalys
-----------------------------------------------------------------------
ICSAnalyst's Profile:
http://www.excelforum.com/member.php...fo&userid=1509
View this thread: http://www.excelforum.com/showthread.php?threadid=26726

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default How to automatically populate using Macro

Hi
do you need a macro or would a formula do as well?. For the latter use
=IF(COUNT(A1,C1)=2,A1/C1,0)

Note: Does not take care of C1=0 and I'm not sure what you mean with
N/A?

--
Regards
Frank Kabel
Frankfurt, Germany

"ICSAnalyst" schrieb im
Newsbeitrag ...

I want a code that can automatically populate a column wich is (E). I
want the column to be dividing column A/ Column C. And if there isn't
anything in Column A or C.. then the column cell =0 . And if the

answer
is N/A- Then the column cell equals -

Thanks, Please email me


--
ICSAnalyst
---------------------------------------------------------------------

---
ICSAnalyst's Profile:

http://www.excelforum.com/member.php...o&userid=15095
View this thread:

http://www.excelforum.com/showthread...hreadid=267266


  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default How to automatically populate using Macro

hi.
try this formula
=IF(A3="",0,IF(C3="",0,IF(C3=0,0,A3/C3)))

-----Original Message-----

I want a code that can automatically populate a column

wich is (E). I
want the column to be dividing column A/ Column C. And if

there isn't
anything in Column A or C.. then the column cell =0 . And

if the answer
is N/A- Then the column cell equals -

Thanks, Please email me


--
ICSAnalyst
----------------------------------------------------------

--------------
ICSAnalyst's Profile:

http://www.excelforum.com/member.php?
action=getinfo&userid=15095
View this thread:

http://www.excelforum.com/showthread...hreadid=267266

.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to automatically populate a cell? Khoshravan New Users to Excel 3 January 31st 09 09:02 PM
how to automatically populate a cell? RW[_2_] New Users to Excel 1 January 31st 09 03:50 AM
Populate cells automatically jon boy Excel Discussion (Misc queries) 1 January 23rd 08 02:40 PM
Populate lists automatically New2XL Excel Discussion (Misc queries) 5 September 22nd 06 10:08 AM
How to automatically populate the next available invoice # Laurie Excel Worksheet Functions 1 June 19th 06 05:30 PM


All times are GMT +1. The time now is 12:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"