Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
asg2307
 
Posts: n/a
Default Copy exact value from one cell to new formula in another cell

I created a countif formula, but have a great amount of exact values to put
in a number of cells which will count up another sheet with those values. Is
there an easier way to input the formula for each cell other than editing the
copied formula over and over again? i.e. =COUNTIF(Sheet2!G9:G30007,
"=reddog1") I will need to change reddog1 to reddog1, reddog3, bluecat1, etc.

  #2   Report Post  
Posted to microsoft.public.excel.misc
bj
 
Posts: n/a
Default Copy exact value from one cell to new formula in another cell

on your first sheet set up a list of the terms you want for example in A1 put
reddog1
in A2 put reddog2 etc
then in column b1 enter=countif(Sheet2!$G$9:$G$30007,A1)
copy b1 down to the end of the data in column A
please note I changed your data reference to absolute reference rather than
relative.

"asg2307" wrote:

I created a countif formula, but have a great amount of exact values to put
in a number of cells which will count up another sheet with those values. Is
there an easier way to input the formula for each cell other than editing the
copied formula over and over again? i.e. =COUNTIF(Sheet2!G9:G30007,
"=reddog1") I will need to change reddog1 to reddog1, reddog3, bluecat1, etc.

  #3   Report Post  
Posted to microsoft.public.excel.misc
asg2307
 
Posts: n/a
Default Copy exact value from one cell to new formula in another cell

I tried it and it works great, thanks.

"bj" wrote:

on your first sheet set up a list of the terms you want for example in A1 put
reddog1
in A2 put reddog2 etc
then in column b1 enter=countif(Sheet2!$G$9:$G$30007,A1)
copy b1 down to the end of the data in column A
please note I changed your data reference to absolute reference rather than
relative.

"asg2307" wrote:

I created a countif formula, but have a great amount of exact values to put
in a number of cells which will count up another sheet with those values. Is
there an easier way to input the formula for each cell other than editing the
copied formula over and over again? i.e. =COUNTIF(Sheet2!G9:G30007,
"=reddog1") I will need to change reddog1 to reddog1, reddog3, bluecat1, etc.

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
copy and pasting a find all list into another column Ben Excel Discussion (Misc queries) 18 December 31st 05 10:51 PM
Copy an Drag cell Formula Problem Nat Excel Discussion (Misc queries) 1 June 20th 05 03:24 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
When I copy down into the next cell the formula changes correctly. Jason30 Excel Discussion (Misc queries) 1 January 12th 05 11:55 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 07:50 AM.

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

About Us

"It's about Microsoft Excel"