How do I get a cell reference into this formula...

G

Guest

Hi guys--

I have an Excel database with a 3-cell address field that I need to parse
into other cells. Here is what I have so far:

=IF((MOD(ROW(),3))=0, E(ROW()-2), " ")

What I want to do is, every 3 rows (say I'm in row190) to put the contents
of E187 in the current cell. The "mod" part is working OK, but how do you
construct the "E187" cell reference? So far, no luck.
 
P

Pete_UK

Try using INDIRECT, such as:

=IF((MOD(ROW(),3))=0, INDIRECT("E"&(ROW()-2)), " ")

Hope this helps.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top