View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Matt Lunn[_3_] Matt Lunn[_3_] is offline
external usenet poster
 
Posts: 20
Default Testing Values of Cells

Hi,

There are a few ways to accomplish this depending on the level of complexity.
Could you post the full range of cominations/results?

Thanks,
Matt

" wrote:


I am trying to test the values of cells in two columns of data and
based on the contents of these values insert a value into a third
column.

For example:

If the value in Cell F2 = 'A' AND the value in Cell G2 = 1 THEN insert
the value 'V1' into Cell H2

If the value in Cell F2 = 'A' AND the value in Cell G2 = 2 THEN insert
the value 'V3' into Cell H2

etc.

Can anyone please help me with this?